-->
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 sort with two table?
PostPosted: Mon Oct 04, 2004 1:53 am 
Newbie

Joined: Mon Oct 04, 2004 1:46 am
Posts: 1
There's two tables A and B, their relationship is one-to-one,
I'd like to get all entries of A ,and sorted by one column of B.
How to write the HQL of this purpose?
Thanks for your help!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 04, 2004 4:29 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Please read the reference guide, you can do just normal association walking in HQL


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.