Would like HQL support in criteria.Order
----------------------------------------
Key: HHH-2987
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2987
Project: Hibernate3
Issue Type: Improvement
Affects Versions: 3.2.5, 3.2.4.sp1, 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2.0.ga, 3.2.0.cr5,
3.2.0.cr4, 3.2.0.cr3, 3.2.0.cr2, 3.2.0 cr1, 3.1.3, 3.2.0.alpha2, 3.2.0.alpha1, 3.1.2,
3.1.1, 3.1, 3.1 rc3, 3.1 rc2, 3.1 rc 1, 3.1 beta 2, 3.1 beta 1, 3.0.5, 3.0.4, 3.0.3,
3.0.2, 3.0.1
Reporter: Mark Lundquist
Priority: Minor
I just rewrote part of an application to use the Criterion API, and this was mostly a win,
but... the old implementation had an "order by ucase (name)", and I cannot now
say:
crit.addOrder (Order.asc ("ucase (name)"));
because Order doesn't do HQL, it just wants a property name. It would be nice if
Order supported HQL.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira