On 11/1/2010 10:19 AM, Michael Bayer wrote:
SAVEPOINT. This is the technique the average user wants to use.
Thanks for that.
Pertinent documentation: begin(): "When a rollback is issued, the subtransaction will directly roll back the innermost *real* transaction". rollback(): "This method rolls back the current transaction or nested transaction regardless of subtransactions being in effect."
I think the main thing that seems missing is that once an "inner" rollback is issued, then the "outer" ones must immediately follow; no other db action allowed until this is done. (Which isn't the case with nested).
Thanks, Michael -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
