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.

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to