[ZODB-Dev] List of modified objects
    Christian Robottom Reis 
    kiko at async.com.br
       
    Thu Dec  2 05:49:13 EST 2004
    
    
  
On Thu, Dec 02, 2004 at 09:48:04AM +0100, Thomas Guettler wrote:
> How can you get the list of all objects which where
> modified in a transaction?
> 
> I want to be sure that a read only access does not change
> anything. The transaction gets finished with abort(). Before
> the abort I like to check if the list of modified objects is empty.
If you don't use subtransactions, it's an easy answer:
    connection.getTransaction()._objects
If you do, I can't say I know.
Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331
    
    
More information about the ZODB-Dev
mailing list