8 Jan
2004
8 Jan
'04
7:25 p.m.
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