-->
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: XDoclet and composite Id
PostPosted: Mon May 23, 2005 4:20 am 
Newbie

Joined: Thu Oct 07, 2004 9:15 am
Posts: 5
Hello,

Does anyone know how to define the XDoclet mapping for a one-to-many relationship when the target class has a composite id?

This is what i'd like to get from the XDoclet compilation

<set name="clientDeals" lazy="true" inverse="false" cascade="none" sort="unsorted">
<key>
<column name="branch_Id"/>
<column name="client_Id"/>
<column name="reporting_Cob"/>
</key>
<one-to-many class="Deal"/>
</set>


Help is much appreciated,
thanks,
Mjorda


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 23, 2005 8:32 am 
Expert
Expert

Joined: Sat Oct 25, 2003 8:49 am
Posts: 490
Location: Vrhnika, Slovenia
Follow this link: http://forum.hibernate.org/viewtopic.php?t=941596


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.