-->
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.  [ 4 posts ] 
Author Message
 Post subject: Problem With JOIN
PostPosted: Wed Sep 12, 2007 2:45 am 
Newbie

Joined: Wed Sep 12, 2007 2:38 am
Posts: 3
Location: HyderaBad
Hi All,

How to get a field from another table other than primary key ?

Thanks,
Ram Kumar


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 2:46 am 
Regular
Regular

Joined: Mon Apr 02, 2007 3:54 am
Posts: 67
Location: Hyderabad
In many-to-one mapping, specify property-ref="fieldname". and try.

Thanks,
Gopal


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 12, 2007 2:51 am 
Newbie

Joined: Wed Sep 12, 2007 2:38 am
Posts: 3
Location: HyderaBad
gopal.knoah wrote:
In many-to-one mapping, specify property-ref="fieldname". and try.

Thanks,
Gopal


Thanks Gopal,

It works.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 12, 2007 12:25 am 
Regular
Regular

Joined: Mon Apr 02, 2007 3:54 am
Posts: 67
Location: Hyderabad
You can try fetch="select" also for select fetch.


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