Hi All

I have the following problem which I suspect is a bug in OJB. I'm using 
OJB 0.9.5 by the way, so it might (I hope :) be solved by now. If so, 
I'd be glad to hear. I have 2 objects (lets call them A and B) which are 
associated by an m:n relation through an indirection table. Both object 
(collection) references are proxy (lets call them propA and propB; that 
is, A.propB is a proxy collection of type B objects, and B.propA is a 
proxy collection of type A objects). Both objects have references (1:n 
as well as m:n) to other objects as well. When I associate A to B, by
adding B to A.propB and the other way around, store both objects, clear 
the cache and retrieve A, the association is still there (A.propB 
contains B). Now, when I associate this same object (A) to another 
object by a DIFFERENT property (say A.propC), store A again, and clear 
the cache, it turns out that when I retrieve A, B is missing from 
A.propB! This does not happen when I set proxy="false" in the repository.
Because of this last fact, I think this is a bug in OJB.
Any help is much appreciated. Because of performance reasons, setting all
associations to proxy="false" is not an option...

Rudi



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

Reply via email to