[ZODB-Dev] API for dooming a transaction for ZODB 3.3

Steve Alexander steve at z3u.com
Thu Jan 8 09:18:30 EST 2004


Hi,

I'd like to add some sort of API for dooming a transaction to ZODB 3.3.

Dooming a transaction is a way of ensuring that a transaction will not 
successfully commit, without actually aborting the tranaction immediately.

This is particularly useful in Zope applications when an error occurs in 
an application, and you want to ensure the transaction will not be 
committed, but you don't want to present the exception to the user.


This has been discussed on zodb-dev before.

   http://mail.zope.org/pipermail/zope-dev/2003-February/018839.html

The topic most recently came up on the zope3-dev list.

   http://mail.zope.org/pipermail/zope3-dev/2004-January/009311.html


Any suggestions on a good name for this addition to the API?

Perhaps get_transaction().doom() ?

--
Steve Alexander




More information about the ZODB-Dev mailing list