The ZoDB is an object database which transparently makes any changes to objects in memory persist between sessions and between individual runs of your application. A ZoDB object literally looks like any other object except that any changes made to it are long lived. To accomplish this magic, one must follow a couple of rules.
In order for a Zope (ZoDB) object to be persitent, it must fulfill the following conditions:
_p_
_v_
are not persisted (volatile)_p_changed
attribute to True.__del__()
methodPersistence.Persistent
.In the case where a relational database or alternative store is used for permanent storage, different rules will apply for marshalling or instantiating objects from the database.