[Zope] Copying objects

Markus Schaber markus.schaber@student.uni-ulm.de
Mon, 19 Nov 2001 16:20:56 +0100


Hi,

Am Mon, 19 Nov 2001 11:18:15 +0100 schrieb Jesper Holmberg:

> * On Mon Nov 19, Dieter Maurer wrote:
> > They are persistent in the sense that they are written to ZODB (and
> > later loaded again). However, they do not become magically full
> > persistent objects. Especially, they do not yet OIDs which is
> > probably necessary to preserve sharing in the ZODB.
>=20
> Ah, so if I understand you correctly, what I'm trying to do is not yet
> supported in Zope? I'll have to find another solution where objects
> are not shared?

As far as I understood, you have to make your shared objects (the attribu=
tes) persistent by deriving them from "Persistent" so they get their own =
OID in the ZODB.


Gru=DF,
Markus

--=20
You don't have to be Microsoft to suck... but it helps.
(Tim Hammerquist in comp.lang.python)