-->
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: Using Hibernate with the Java List
PostPosted: Tue Dec 14, 2010 3:35 pm 
Newbie

Joined: Tue Dec 14, 2010 3:11 pm
Posts: 2
Hi, can anyone help me to use list with hibernate I am getting many problem with this, I have posted the problems on stackoverflow @

http://stackoverflow.com/questions/4442 ... -java-list

but no is responding with a proper answer, if someone could help me??


Top
 Profile  
 
 Post subject: Re: Using Hibernate with the Java List
PostPosted: Tue Dec 14, 2010 5:20 pm 
Expert
Expert

Joined: Wed Mar 03, 2004 6:35 am
Posts: 1240
Location: Lund, Sweden
As I see it the answer you got from araqnid on stackoverflow is correct.

Technically it would also be possible to use a <bag> mapping since that is implemented with lists, but that will also allow multiple references between the same student and course. It doesn't need an extra index column but this also means that order is not preserved.


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.