It was my impression that the collection proxies would delay the loading of the objects in the collection until I actually tried to reference them. This does not seem to be true when using the ODMG api, as I am doing.

I have an object graph with a lot of interconnections. Querying on one object has the potential to pull in alot of objects. So all of my collection-descriptors specify proxy="true". Regardless of this configuration, using the ODMG API, when I query on one object the rest of the object graph is also read in from the database. For each collection I see a "select count(..)" kind of query, and then a select to bring in the collection, and so on through out the object graph.


My test looks just like the "retrieving collections" example in the ODMG tutorial. My query specified the oid for an object. I expected to get materialize just that one object.

Am I missing something? I don't see how I can use the ODMG api if it is going to bring in the entire graph each time I need one object.

Thanks, Will


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to