11 Jul
2003
11 Jul
'03
12:43 p.m.
--On Freitag, 11. Juli 2003 13:01 +0200 Johan Carlsson <johanc@easypublisher.com> wrote:
I guess it would look something like this?
import Globals db=Globals.DB connection=db.open() root = connection.root()
Note here that the ZODB root is *not* the Zope application object! If you want the Zope root folder do this: import Zope app = Zope.app() get_transaction().begin() ... get_transaction().commit() app._p_jar.close() Stefan -- The time has come to start talking about whether the emperor is as well dressed as we are supposed to think he is. /Pete McBreen/