Viktor

How about making them child objects rather than a list collection

Class A
relationship rChildren as Achildren [Cardinality= children,
Inverse=rParent]

Class Achildren
relationship rParent as Achildren [Cardinality= parent
,Inverse=rChildren ]
property pB as B;

you can then do
&sql(select 
rParent->classAproperty
pB->classBproperty
from Achildren
where rParent=:xParentID as pB->propB='something')

Peter


On Tue, 10 Aug 2004 01:27:51 +0200, "viktor zaletelj"
<[EMAIL PROTECTED]> wrote:

>hy,
>
>suppose two independent objects, A and B. Inside B, i defined property pA of
>type A as collection=list.
>
>When i try to find everything about A objects which are inside collection of
>pA, i found only the object-oriented way to solve such query (opening each
>object, checking items on list ...if ok --- do something).
>Through such chaining ... it becomes more and more unpleasant.
>
>Is there any way around ? Maybe some object search method inside Cache?
>
>thanks in advance!
>
>viktor
>
>
>


Reply via email to