18 Jun
2001
18 Jun
'01
2:52 p.m.
Jephte Clain wrote:
the question is: what transaction is commited with get_transaction().commit() ? It is only the one associated with the connection, or also the transaction in which is the caller? I mean, if my method is called from within Zope, is the transaction of the caller commited?
In the default implementation, there is one transaction per thread. When you commit(), you commit everything your caller changed as well. Connections are somewhat independent of transactions, if that helps. Shane