-->
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: How to map One-to-Many relationships using a composite key
PostPosted: Fri Apr 09, 2004 1:42 pm 
Newbie

Joined: Thu Oct 16, 2003 7:22 pm
Posts: 12
I am trying to use hibernate for a new project with an existing schema, basically I have an entity A with a one-to-many relationship to entity B, however, entity A has a composite key which I have mapped using a hibernate component C

The question is how do I map the relationship between A and B?

daniel


Top
 Profile  
 
 Post subject: Nevermind, found the answer...
PostPosted: Fri Apr 09, 2004 1:51 pm 
Newbie

Joined: Thu Oct 16, 2003 7:22 pm
Posts: 12
This is what I get for not reading the docs...

here's the answer:
http://www.hibernate.org/74.html#A2


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.