Michael,

Michael Bayer wrote:
> ...
> if FB didn't raise an error when you said begin_nested() then i think
> SAVEPOINT is working.  Any number of SAVEPOINTS are still all
> contained within the larger transaction, though.   If you want "u3" to
> be committed regardless of the transaction, you'd have to use a
> different Session on its own transaction.
>   
Thanks for the quick reply.

I initially had this but that caused me problems when I wanted to access 
data from that other session.

Would I use merging for this? I.e. something along these lines?

session1
.... do whatever
open a wxPython dialog
- uses session2
.... does whatever
on dialog close:  newobject = session1.merge(anObjectFromSession2)

Werner

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to