-->
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: Annotating a one to many composite key relationship
PostPosted: Fri Aug 27, 2010 1:54 pm 
Newbie

Joined: Tue Mar 22, 2005 6:06 pm
Posts: 1
Hello all,

My question is how do I create an annotation based one-to-many relationship with a composite key using only 2 tables.
Is this possible?? I have through my research looked at the following way based on 3 tables: http://boris.kirzner.info/blog/archives/2008/07/19/hibernate-annotations-the-many-to-many-association-with-composite-key/, but I wanted to now if there are any other methods available.

Regards,

Steven Headley


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.