Hi all,
I'm trying to mix ORM transactions and SQL transaction as follows:
T1 = S.create_transaction()
# do some ORM stuff
C1 = T1.connection()
C2.execute(sql)
T2 = S.create_transaction()
# nested ORM stuff
C2 = T2.connection()
C2.execute(sql)
T2.commit() # should not commit (I think), but does!
C1.execute(sql) # ERROR: this connection is closed
Is this not supposed to work?
Thx,
Rick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---