somethings up with sphinx....I rebuilt the docs locally since its not  
working on the server for some reason.  doc is here:

http://www.sqlalchemy.org/docs/05/reference/orm/sessions.html?highlight=active%20transaction#sqlalchemy.orm.session.Session.is_active




On Feb 1, 2009, at 1:36 PM, GreyBadger wrote:

>
> 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 sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to