-->
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: One-to-many with Composite Key:Possible to Be Mapped?
PostPosted: Wed Aug 10, 2005 3:36 pm 
Newbie

Joined: Mon Jul 18, 2005 10:15 am
Posts: 17
There are table X and Y.

a and b are X's PK.
a, b, and c are Y's PK.

The relataionship between X and Y is one-to-many.

I have no problem mapping the individual tables. But just cannot find a way to map the relateion between X and Y?

Help please.


Top
 Profile  
 
 Post subject: Found the Answer
PostPosted: Wed Aug 10, 2005 4:55 pm 
Newbie

Joined: Mon Jul 18, 2005 10:15 am
Posts: 17
Somebody had the similar problem before. http://forum.hibernate.org/viewtopic.php?t=937842&view=previous&sid=d9280c5006bd6d5a5683162891f2e07c


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.