-->
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: How to select single column...
PostPosted: Mon Jun 26, 2006 8:26 am 
Newbie

Joined: Wed Jun 14, 2006 11:02 am
Posts: 2
How to select column SFRFVRSTA from many-to-one "Sfrfpodvrsta"?

<class
name="Kartice"
...
...
...
...

<many-to-one
name="Sfrfpodvrsta"
class="Sfrfpodvrsta"
not-null="false">
<column name="SFRFPODVRSTA" />
<column name="SFRFVRSTA" />
</many-to-one>

</class>


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 26, 2006 9:07 am 
Beginner
Beginner

Joined: Thu Sep 01, 2005 7:43 am
Posts: 31
Location: León (Spain)
The Sfrfpodvrsta mapping file would have helped, but anyway, it should work being something like:

select sfrfpodvrsta.name-of-the-property from Kartice kartice left outer join kartice.Sfrfpodvrsta sfrfpodvrsta where the-where-clause-you-like

Hope this helps.
Bye.

_________________
Please rate...

Expert on Hibernate errors... I've had them all... :P


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.