-->
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.  [ 3 posts ] 
Author Message
 Post subject: Projections in Order using Criteria
PostPosted: Wed Oct 01, 2008 5:26 pm 
Newbie

Joined: Wed Oct 01, 2008 5:22 pm
Posts: 2
Hello,

I am using 2.0GA, and am attempting to add a projection to an order by, specifically, attempting to allow an order by using upper to ignore case. Is this currently possible using the Criterion namespace, or am I limited to HQL?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 01, 2008 7:56 pm 
Expert
Expert

Joined: Mon Nov 26, 2007 2:29 pm
Posts: 443
.addOrder(Order.asc("keyword").ignoreCase())

_________________
Gonzalo Díaz


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 02, 2008 10:05 am 
Newbie

Joined: Wed Oct 01, 2008 5:22 pm
Posts: 2
.Net is stating that Order.Asc("") doesn't have a method called
ignoreCase(). Is it in a namespace besides Criterion?


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