-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: mapping lists
PostPosted: Mon Jan 12, 2004 5:42 pm 
Beginner
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 12, 2004 5:43 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Use a bag


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.