Hi again Russel, Russell Smyth wrote:
In trying to get our application working, I am not sure if we are having a mapping problem, or if I dont understand OJB/ODMG (quite possible) so I haveThis depends on your repository. ODMG uses the same repository information as the PersistenceBroker. All repective information can be found in Tutorial3.html and in repository.html
a few questions that will help me narrow down my problem:
1 - does ODMG autoload a complete object graph?
ours does not seem to - it will only load the first level deep. If this is as it should be, I can stop looking, however if it should load the whole graph, I will have more to look at!
It should be easy to configure full loading.
As mentioned above: It depends on repository if loading is done or not, if proxies are used or not, if prefetching is used or not, etc.2 - If I have an interface MyInterface, and a class MyClass that implements that interface, and a class MyContainedClass which MyClass contains a reference to MyInterface /^\ | MyClass -- > MyContainedClass when I do an OQL query "select classes from MyInterface", should any returned MyClass objects have their MyContainedClass references loaded?
What I amMhh? We must have a look at your entity classes and at your repository_user.xml.
observing
is that this will not work, however if I simply change the query to "select classes from MyClass" the MyClass instances returned do have their
references loaded.
cheers,
Thomas
I think I have my repo configured properly, but knowing these answers may help me determine so. Thankyou in advance Russell -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>