> 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.





_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to