-->
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.  [ 3 posts ] 
Author Message
 Post subject: Primary key composed by several columns
PostPosted: Mon Feb 19, 2007 1:24 pm 
Newbie

Joined: Mon Feb 19, 2007 1:16 pm
Posts: 6
I need to map a class and its primary key is composed by several columns. How should I define the id.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 19, 2007 1:34 pm 
Newbie

Joined: Sun Feb 18, 2007 2:54 pm
Posts: 6
Section 5.1.5 of http://www.hibernate.org/hib_docs/reference/en/html/mapping.html talks about composite-id, which seems to be what you're looking for


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 20, 2007 9:46 am 
Newbie

Joined: Mon Feb 19, 2007 1:16 pm
Posts: 6
Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.