30 Mar
2001
30 Mar
'01
3:29 p.m.
So if a a method raise an exception all the things done (that involve zodb) in the method will be rolled back ?
Yes. Actually, I need to clarify that. ZODB doesn't handle this for you. Zope does. When a request in Zope starts, a transaction is started. If the response is sent back without an error, the transaction is committed. If anything prevents the response from being sent back, the transaction is aborted.