-->
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: Criteria with case sensitive order
PostPosted: Tue Jun 15, 2004 5:09 am 
Newbie

Joined: Tue Jun 15, 2004 5:04 am
Posts: 1
Hello,

I'm using a criteria like:
list = hibSession.createCriteria(HrFunctii.class)
.add(Expression.eq("usual", new Boolean(true)))
.add(Expression.eq("active", new Boolean(true)))
.addOrder(Order.asc("name"))
.list();
How can I get the list ordered by upper(name) with addOrder method?

Thanks,
Valy


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 12, 2004 3:24 pm 
Newbie

Joined: Wed Sep 01, 2004 2:03 pm
Posts: 7
Is there any resolution to this question?

Please reply


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 06, 2006 4:46 pm 
Beginner
Beginner

Joined: Wed Jul 21, 2004 6:50 pm
Posts: 27
Answer is here if you still need it...

http://forum.hibernate.org/viewtopic.ph ... rder+upper


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.