[ZODB-Dev] Re: Migrating classes in ZODB 3.5.1

Lennart Regebro regebro at gmail.com
Sun Nov 27 14:29:15 EST 2005


On 11/27/05, George Lee <georgeleejr at gmail.com> wrote:
> Lennart, do you mind sharing the code for your script? I don't know how much
> persistence, committing transactions, and other strange ZODB things Plone people
> can hide from, affect how to do it.

I don't have it anymore, but it just traverses through all objects and
upgrades them if necessary.

> (Or -- is it possible to just recreate objects through Plone itself, rather than
> through the ZODB?

That's the same thing.

> Or on the flip side, does having a Plone and not just a ZODB
> object mean it's more complicated to recreate the object because there's even
> more information about the object that needs to be recreated?)

No, a Plone object is just a ZODB object with a Plone base class. No difference.


More information about the ZODB-Dev mailing list