Re: [Zope-dev] what transaction does get_transaction().commit() really commit?

2001-06-18 Thread Shane Hathaway
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 commi

[Zope-dev] what transaction does get_transaction().commit() really commit?

2001-06-17 Thread Jephte Clain
hello, I have a method that reads: 8< def do_something(self): from Zope import DB conn = db.open() conn.root()['name'] = 'value' get_transaction().commit() conn.close() 8< the method can be called from everywhere, and that's the reaso