Chris S wrote at 2006-9-3 15:40 -0400:
>Is there a standard procedure for dealing with fundamental changes to
>classes? For instance, how do you make a ZODB cope with a class being
>renamed, or being placed in a different location? How will it know
>that oldmod.myclass == newmod.myclass?

It does not.

You can use so called "module aliases" to partially cope
with module relocation and "class aliases" to cope with class renaming.
Otherwise, you have to use migration scripts that physically
recreate the objects (and the references to it!) with the new classes.



-- 
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

Reply via email to