Class DataObjects::SavePoint
In: lib/data_objects/transaction.rb
Parent: Transaction

Methods

begin   close   commit   create_for_uri   rollback  

Public Class methods

We don‘t bounce through DO::<Adapter/scheme>::SavePoint because there doesn‘t appear to be any custom SQL to support this.

Public Instance methods

SavePoints can only occur in the context of a Transaction, thus they re-use TXN‘s connection (which was acquired from the connection pool legitimately via DO::Connection.new). We no-op close in SP because calling DO::Connection#close will release the connection back into the pool (before the top-level Transaction might be done with it).

[Validate]