-->
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.  [ 1 post ] 
Author Message
 Post subject: Simple Bidirectional Associations Question
PostPosted: Tue Nov 16, 2004 11:36 am 
Newbie

Joined: Tue Nov 16, 2004 11:22 am
Posts: 6
By making a one-to-many association bidirectional I understand that it results in more efficient SQL and stops the not-null constraint problem on the 'many' table.

Section 6.8 of the docs says that "Hibernate does not support bidirectional one-to-many associations with an indexed collection"..

I need an indexed collection, so I'm I correcting in thinking that I just use a unidirectional association and put up with the problems that the bidirectional association would normally fix?


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

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.