Hi,

I have some problem with multiple instant of one object in the simple case
----------------------------------------------------------------------------
-
....
Criteria myC = new Criteria();
myC.add(ParentPeer.ID,"1");
Vector aResultList = ParentPeer.doSelect(myC); // myParent is load from db

myParent = (Parent)aResultList.firstElement();

myChild = (Child)myParent.getChilds().get(1); // myChild is load from db

myParent2 = myChild.getParent(); // myParent is load again from db
----------------------------------------------------------------

myParent and myParent2 are different instance!
It's possible to avoid that? it's forecast?

Xa


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

Reply via email to