-->
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: Multiple Tables Mapping
PostPosted: Fri Mar 17, 2006 12:03 pm 
Newbie

Joined: Tue Mar 07, 2006 3:57 pm
Posts: 10
I have a requirement to map multiple tables

Table A A_PK
Table B B_PK
Table C C_PK

Table ABC (A_FK , B_FK,C_FK) >>PK

How can I represent this kind of relationship ?

In the hbm.xmls of table A, B, C, can this relationship be represented by many-many.


Thanks,

Pooja


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 4:46 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
http://www.hibernate.org/hib_docs/v3/re ... ompositeid
<key-many-to-one name="propertyName ....
also
http://www.hibernate.org/hib_docs/v3/re ... ompositeid

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


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.