[Zope3-dev] Synching objects with underlying datastore

Garrett Smith garrett at mojave-corp.com
Thu Aug 19 13:00:38 EDT 2004


We're using a relational database to store _some_ of the attribute
values for ZODB objects. Since it's possible for the RDBMS to be updated
independently of Zope, I'd want to synchronize loaded ZODB objects.

I know about _p_jar.sync() :-)

Is there a way to enumerate the currently loaded ZODB objects. (By
'loaded' I mean those objects whose state is already in memory -- maybe
'cached' is what I'm looking for here.) I obviously don't want to take
the brute force approach and call _p_jar.sync() on all objects.

 -- Garrett


More information about the Zope3-dev mailing list