Kenneth Miller wrote at 2008-1-17 19:08 -0600:
> ...
>Do I always  
>need to subclass persistent?

When you assign an instance of your (non "persistent" derived) class
as an attribute to a persistent object,
then your instance will be persisted together with its persistent
However, local modifications to your instance are not recognized
by the persistency mechanism. You need to explicitly inform the persistent
container about the change.

Moreover, "persistent" objects define the granularity with which
application and storage interact: load and store work on
the level of persistent objects excluding persistent subobjects.

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -

Reply via email to