Hi,

In an Exception catch block, one may or may not be sure if a
transaction object has had begin() called. Is it safe to blindly call
rollback() on a Transaction object, or is there a way to test if a
transaction is active before calling rollback() (or indeed commit!).

I couldn't find anything in the docs about this.

Regards,
GB.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to