On Apr 3, 2005 4:38 PM, Julien Anguenot <[EMAIL PROTECTED]> wrote: > Is there a way to hook before the first transaction commit phase ?
If you register a synchronizer with the transaction manager, it's beforeCompletion() method will be called immediately before changing the transaction's state to committing. This hook was intended in part to support use cases like "do something magic to the transaction before it commits." It looks like the registerSynch() method of the transaction manager is undocumented, but that is an oversight. Jeremy _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev