[ZODB-Dev] zodb4: adding an object before transaction commit

Steve Alexander steve at z3u.com
Mon Oct 6 13:13:45 EDT 2003


John Belmonte wrote:
> Steve Alexander wrote:
> 
>> I want to do some things with the oids of persistent objects, such as 
>> use them as keys in a BTree.
>>
>> The thing is that an object doesn't get an oid until it is added to 
>> the database, and a transaction is committed.
>  
> I'm wondering if your need can be addressed by the "ID generator" patch 
> posted by Roché Compaan

No. I definitely want the oid.

--
Steve Alexander





More information about the ZODB-Dev mailing list