[ZODB-Dev] ZODB _v_ attributes are tricky
Shane Hathaway
shane at zope.com
Fri Apr 2 19:31:57 EST 2004
Dieter Maurer wrote:
> Shane Hathaway wrote at 2004-4-2 11:48 -0500:
>
>>...
>>Instead, ZODB ought
>>to provide two kinds of documented descriptors: Volatile and
>>TransactionalVolatile. Volatile attributes revert to the default state
>>at any time; TransactionalVolatile attributes reliably revert to the
>>default state upon commit or rollback (including savepoint commit or
>>rollback).
>
>
> I fear, we need more kinds:
These are all fine. One way to implement these new descriptors is to
attach data to the Connection object. The Connection is able to keep
data beyond transactions, and can also zap things according to transactions.
Shane
More information about the ZODB-Dev
mailing list