Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Composite foreign keys
PostPosted: Fri Mar 23, 2012 5:40 pm 
Newbie

Joined: Wed Mar 21, 2012 6:17 pm
Posts: 2
There is a composite key in one table and keys that this composite key contains are the foreign keys to another tables. If anyone could post few examples on how to map this table using HBMs, it will be a great help. I found couple of examples on forums about how to map this using annotations but nothing is helping me out.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 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.