[ZODB-Dev] Quick ZODB connection synch question

Dieter Maurer dieter at handshake.de
Fri Sep 26 14:08:14 EDT 2003


Chris Withers wrote at 2003-9-26 09:10 +0100:
 > ...
 >  >>> get_transaction().abort()
 >  >>> get_transaction().begin()
 >  >>> app.title
 > 'Zope'

The ZODB processes invalidation requests for a connection only

  *  when the connection is opened
  
  *  when you commit or abort a transaction *AND* this transaction
     has at least one object modified from this connection (such
     that the connection is registered with the transaction)

  *  you call "connection.sync".


Dieter



More information about the ZODB-Dev mailing list