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