Hi.

I have some doubts about the use of sessions with transactions.

I'm using the session context (so there is one session per thread).

If the transaction fails, I should make sure that Session.close is called?
Should I call Session.clear, instead?


I think that this should be explained in the SessionContext documentation.


Thanks  Manlio Perillo

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