Skip to content

Commit

Permalink
Added a note on changing whether an object is persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Fulton committed Aug 26, 2016
1 parent 8db4468 commit 1e78869
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions documentation/guide/writing-persistent-objects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,16 @@ objects may need to be loaded or saved and you may incur more memory
overhead. On the other hand, if objects are too big, you may load or
save more data than would otherwise be needed.

You can't change your mind in subclassing persistent
====================================================

Currently, you can't change your mind about whether a class is
persistent (subclasses ``persistent.Persistent``) or not. If you save
objects in a database who's classes subclass ``persistent.Persistent``,
you can't change your mind later and make them non-persistent, and the
other way around. This may be a `bug or misfeature
<https://github.com/zopefoundation/ZODB/issues/99>`_.

.. _schema-migration-label:

Schema migration
Expand Down

0 comments on commit 1e78869

Please sign in to comment.