Beginner |
|
Joined: Fri Nov 28, 2003 11:21 am Posts: 49 Location: Buenos Aires, Argentina
|
Ok ,i have a bidirectional relation and i must use a list collection because we 've already implemented the methods to work with them ,the structure of the table is this
Product;
p_idprod
p_descr
Suplement:
p_idsupl
F_idProd
Does exist a way to map these tables using a list collection,or i must use another collection.
I must mention that both classes inherited from another.
<class
<joined-subclass product
</joined-subclass>
<joined-subclass suplement
</joined-subclass>
</class>
Must I cast the list returned from the method find to a set or another collection type?.
Thanks.
|
|