Florent Guillaume wrote at 2004-1-7 18:31 +0100:
>[Cc zope-dev and not zope3-dev anymore as my question is now zope 2 
>related...]
>
>Ok so Jim mentionned it was possible to do rollback of subtransactions 
>in Zope 2. How can I do that ? What's the idiom that would be equivalent to:
>
>tid = startSubTransaction()
>...
>if something:
>     rollbackSubTransaction(tid)

      get_transaction().abort(1)

(in analogy to "get_transaction().commit(1)").

-- 
Dieter

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

Reply via email to