|
Hi,
I'm using Castor CVS version from the end of
October and I'm having the following problem:
I have to classes in the following
relation
A B
1...n
I have created several objects of class A and
several of class B which are connected to A.
If I perform an OQL query on A, all matching
instances and their related objects (B) are loaded
If I now change a property of class A and call
db.update(a) I loose the relation to all instances of B.
On executing the same OQL query another time the
related objects aren�t loaded again.
It seems to be an issue with the cache, since after
restarting castor all objects are once again
found.
Is it neccesary to call db.update() on ALL related
objects (even on the "many" side of the relation) ??
If so would I have to subsequently call
update on every object in the whole database to not loose any
relation???
Thanks for your help,
julian
|
