-->
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: Hibernate Annotation Mapping problem
PostPosted: Tue Nov 11, 2008 1:27 am 
Newbie

Joined: Mon Nov 10, 2008 8:43 am
Posts: 8
Hi All.

Please help me with correct Hibernate annotations to achieve the entity relationship as shown in the picture. I want to associate a secondary table of an entity with a primary table of another entity. I tried various things, but all the time I end up relating primary table of entity 1 and entity 2. This is also workable but looks bad in the data model.

Please have a look at the image by clicking following URL for more clarification on the db design I am looking for.

http://forum.springframework.org/attachment.php?attachmentid=1716&d=1226322157

Best regards,
Nitin


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.