On 17.11.2008 16:01 Uhr, Jim Fulton wrote:

On Nov 17, 2008, at 8:21 AM, Andreas Jung wrote:
...
Rephrasing my question in a different way: how can I get hold of the
"parent" object based a persistent object with a _p_jar
connection? E.g. when the ZODB commits a subobject (e.g. a BTree or a
bucket) of portal_catalog/Indexes/some_index then I would like to get
hold of the the related parent "first-class" Zope 2 object (e.g.
derived from SimpleItem/Item or something like that).

There isn't a practical way to do that. (If you're willing to work very
very very hard, you can iterate over a database and build up a reverese
reference structure.)



ok :-) too bad :-)

Thanks,
Andreas
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[EMAIL PROTECTED]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

_______________________________________________
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

Reply via email to