It is the official way to call sync(), yes. I don't know how you do it in Zope, but the connection is what DB.open() returns, and is also attached to persisted objects as the _p_jar attribute.
Hmm, does anyone know the "right" way to get this in Zope?
If I do someobj._p_jar.sync() on an object, will that synch all objects in that storage?
It seems pretty nasty to me, how many connections will I have open if I have two mounted storages?
How can I find them all and sync them all?
Isn't there a nicer, more official way of synching all open connections?
cheers,
Chris
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk _______________________________________________ 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