-->
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: Can I map from non-key field to part of a comp-id?
PostPosted: Mon Dec 29, 2003 12:25 pm 
Newbie

Joined: Mon Nov 10, 2003 4:27 pm
Posts: 13
I have 2 tables related by a string field.

Table A contains the string field but it's not part of the primary key for the table.

Table B contains the string field as part of a composite ID.

Can I map a one-to-many collection from A to B based on the string field being the same? (A containing a collection of B objects.)

Rich


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 29, 2003 1:17 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
No

_________________
Emmanuel


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.