[ZODB-Dev] zodb questions

Christian Robottom Reis kiko at async.com.br
Mon Aug 2 07:35:00 EDT 2004


On Mon, Aug 02, 2004 at 11:52:44AM +0100, Chris Withers wrote:
> Dieter Maurer wrote:
> >AT (and soon CMF) uses unique references to identify objects
> >and a catalog search to locate the object.
> 
> Yeah, this is mind numbingly annoying for me. Aside from cross-storage 
> refereces (a wart which will hopefulyl soon get fixed by Jim ;-), why 
> are we coming up with new unique reference numbers for objects when ZODB 
>  already has them and is managing them for us?!

The reason we use our own references in IndexedCatalog is because at the
time an object is added to the catalog we may not have a Connection yet,
which precludes using _p_oid. I may revisit that in the future, though,
and require one -- it's just that it makes very simple usage of IC a bit
more complicated.

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3361 2331


More information about the ZODB-Dev mailing list