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 container. 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. -- Dieter _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev