Am Mittwoch, den 14.02.2007, 23:05 +0100 schrieb Dieter Maurer:
> Petra Chong wrote at 2007-2-13 18:27 -0000:
> > ...
> >In the docs I have read that it is possible for non-zodb apps to plug
> >into the transaction framework. However, I am unable to find any
> >specifics as to how to do this. 
> >
> >What I'd like to do is this:
> >
> >1. Have my app import transaction
> >2. When transaction.commit() is called from my app, have other things be
> >notified by that.
> Ages ago, I found a documentation about the ZODB that details
> its transaction handling. I have remembered the essential facts
> but forgot where I have found the documentation.
> With your favorite search engine, you might be able to find it....
> Alternatively, you can look at the source code for
> "transaction._transaction.Transaction.commit" or
> use Zope's "shared.DC.ZRDB.TM.TM" (the "TM" stands for
> "Transaction Manager").

Which reminds me of a nice exercise that I discovered with a colleage:
ZODB currently supports two (old/new) styles of the two-phase-commit for

The whole code is much harder to understand because of the support of
the two versions of the TPC protocol. 

Just FYI and maybe someone thinks it might be a good idea to clean up
too. My current todo list is way too long, but I'd put it in the
collector if it's a worthwhile thing.


gocept gmbh & co. kg - forsterstra├če 29 - 06112 halle/saale - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

For more information about ZODB, see the ZODB Wiki:

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

Reply via email to