[Zope-dev] Unique and Contant object IDs

Itamar Shtull-Trauring itamar@maxnm.com
Wed, 25 Oct 2000 17:58:34 +0200


Johan Carlsson wrote:

> > > Why are the _p_oid depriciated?
> >
> > Not depreciated, just "don't use them."
> 
> But I want too, why shouldn't I?
> They solves my problems with mapping relational data to objects.

I would guess multiple databases can have the same oid's for their objects -
and Zope does support multiple databases.  Plus you're breaking
encapsulation, using an implementation detail of the ZODB for other
purposes.

-- 
Itamar S.T.  itamar@maxnm.com
Fingerprint = D365 7BE8 B81E 2B18 6534  025E D0E7 92DB E441 411C