oid of newly-created object Was: [ZODB-Dev] Scalable Container
for Log-Entries
Toby Dickenson
tdickenson at geminidataloggers.com
Thu Jan 29 05:51:30 EST 2004
On Thursday 29 January 2004 10:44, Thomas Guettler wrote:
> Am Mittwoch, 28. Januar 2004 16:53 schrieb Steve Alexander:
> > You may have problems if you want to get an oid for a newly-created
> > object.
>
> Is there a way around this? How can I get a oid before the transaction
> commits?
Committing it in a subtransaction will assign it on oid.
--
Toby Dickenson
More information about the ZODB-Dev
mailing list