[Zope-DB] Zope database connectivity

Dieter Maurer dieter at handshake.de
Fri Sep 29 12:53:30 EDT 2006

Maciej Wisniowski wrote at 2006-9-28 23:05 +0200:
> ...
>I don't know how abort of ZODB resource managers works but
>doesn't rollback of ZODB resource manager remove _v_ variables?

Usually not.

An abort only deactivates (and deactivation kills the "_v_" variables
together with other content) those objects that have been
modified by the transaction.

>or.. maybe it causes cache garbage collection or invalidation?
>>  However, the transaction holds an additional (beside the "_v_" attribute)
>>  reference to the connection and can commit/abort it despite
>>  the loss of the "_v_" attribute.
>How can I get access to this?

The value of the "_v_" attribute is *the* resource manager
registered with the transaction.


More information about the Zope-DB mailing list