-->
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: associations in hibernate
PostPosted: Wed Dec 22, 2010 8:28 am 
Newbie

Joined: Tue Dec 14, 2010 7:48 am
Posts: 10
is this mandatory to create one more table when we are doing many-to-many associations (not using annotations)


Top
 Profile  
 
 Post subject: Re: associations in hibernate
PostPosted: Thu Dec 23, 2010 2:20 am 
Newbie

Joined: Tue Dec 21, 2010 8:21 am
Posts: 5
yes
in order to map the primary key and foriegn key in the association we are maintaining a separate third table in order to retrive values. This will help in bi-directional searching
from the database
Regards


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.