[Zope] Versioned connectors from ZODB

Florent Guillaume fg at nuxeo.com
Mon Jul 11 09:25:13 EDT 2005


ZODB versions are deprecated, unsupported, buggy and hard to use. Don't
use them.

Florent

Etienne Labuschagne  <elabuschagne at gmail.com> wrote:
> If I get a versioned connection from the ZODB:
> 
> conn = Zope.DB.open(version="myVersion")
> root = conn.root()
> app = root['Application']
> 
> # do some stuff
> 
> get_transaction().commit()
> conn.close()
> 
> Are the changes now in a version?  How do I get those changes rolled
> into the "trunk" version of the ZODB?  I guess all objects changed in
> the version will now be "locked" to that version until I apply the
> version changes to the trunk?


-- 
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com


More information about the Zope mailing list