-->
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: HELP!!! BEGINNER QUESTION!!!! HELP!!!
PostPosted: Tue Sep 13, 2005 5:02 pm 
Newbie

Joined: Fri Sep 09, 2005 11:11 am
Posts: 19
<class name="com.fundserv.aia.persistent.ABC" table="ABC">
<id name="id" column="ID"/>
<property name="keyid" column="KEYID"/>
<join table="BCD" inverse="true">
<key column="KEYID"/>
<property name="myinfo" column="info"/>
</join>
</class>


Above mapping retrieve myinfo data from BCD.info column by comparing ABC.ID = BCD.KEYID.

What changes does it need so that myinfo property retrieves from BCD.info by comparing ABC.KEYID = BCD.KEYID????? [Keep in mind that ABC.KEYID should never be a part of the primary key]


Would the following solves the problem?

<property formula='.......'/>


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 13, 2005 6:28 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Quote:
HELP!!! BEGINNER QUESTION!!!! HELP!!!

This is very impolite.

_________________
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.