-->
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: HQL Order by clause
PostPosted: Sat Aug 30, 2003 8:16 am 
Senior
Senior

Joined: Wed Aug 27, 2003 4:08 am
Posts: 178
Location: Wiesbaden, Germany
Hi all,

just wondering why collections ( indexed ) are supported in where
of HQL , but not in order-by.

Is it a big conceptual problem, or just not implemented by query parser?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 30, 2003 6:06 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Just not implemented. You should be able to make it work by using index() function and putting the collection in the FROM clause.


The implementation of [] is *so* ugly and complicated!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 31, 2003 5:58 am 
Senior
Senior

Joined: Wed Aug 27, 2003 4:08 am
Posts: 178
Location: Wiesbaden, Germany
can you give me a hint where to look for it?
maybe I will see a way to make it less ugly :)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 31, 2003 6:08 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
WhereParser (and bits of PathExpression parser).


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.