ojb

OJB / Oracle XE sql debug-display problem

Hello, I have a Java application, and use OJB as my ORM technology. I have an Oracle XE installation locally to develop against. The problem is when I need to debug a problem, I like looking at the SQL output. Here is an example of SQL I can view through the "Top SQL" interface in Oracle XE: select a_bunch_of_fields from KREW_DOC...

OJB Reference Descriptor 1:0 relationship? Should I set auto-retrieve to false?

Hi, I am having an issue while using Apache OJB with Spring 2 inside my web app. I'm using OJB reference-descriptor with 2 foreign key properties. I have an object A (parent) and object B (referenced object). The thing is, for an object A, there may or may not be an object B. In the case where there is no object B to go with Object A...

Apache OJB: How can I change the eager / explicit / lazy loading behaviour at runtime?

Hi, we use Apache OJB for persistence. Usually we use the proxy mechanism to have a lazy loading behaviour of 1:n relationships. The proxy mechanism is defined in the repository definition file. Now we have one special situation in that I want to force OJB to load all related objects at once, immediately. I.e. this query: Collectio...