Hi,
I tried to do a workaround to avoid the incremental locking behaviour of the
ODMG-implementation.
I work now without all proxies and have a lazyload mechanism in the getter
and setter methods (only for the references of course) of my entities.
I will switch back to the normal ODMG-proxie-lazy-load-mechanismen, when
there is a switch so that just the loaded object is locked and not the whole
graph.
We built an abstraction-layer so we simply can test different apis and also
manipulate them a little.

My momentary problem is:

OJB loads the objects without the related objects as I aspect. But although
I never called tx.lock(myObject, tx.WRITE) on them, when I call
tx.checkpoint() OJB does updates on them with the references set to null!

Why does it behave so?

It is also not clear to me (as I posted some days ago), which field
(objectid or object) is used or has priority on updates and inserts.

Thanks in advance, Sven    

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

Reply via email to