[ZODB-Dev] How to find out if a connection has a non-empty transaction?

Rad Widmer rwidmer at eclypse.org
Wed Aug 4 18:30:11 EDT 2004


I would like to query a connection to find out if there are any modified objects. I can do this
indirectly by calling connection.close() and catching ConnectionStateError exception, but I need a
way to get this information without closing the connection.

Any help appreciated,

Thanks,

Rad Widmer





More information about the ZODB-Dev mailing list