Florent Guillaume wrote at 2005-9-24 10:10 +0200:
>Dieter Maurer  <[EMAIL PROTECTED]> wrote:
>> Thus, promiss the user that any persistent changes he may try
>> will be lost: Put the "afterCommit" in its own transaction and abort
>> it afterwards.

I should have added "will be lost, unless he itself commits the transaction".

>That would be a nice solution I think.
>What would happen though if the post-transaction user code decided to
>commit the transaction? Could that be made to work, for code that would
>like to change persistent objects?

Unless we do very special things, this ("committing" explicitly in
the "postCommitHook") will be possible.

For more information about ZODB, see the ZODB Wiki:

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

Reply via email to