Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1
-
None
-
None
Description
JPQL only allows state fields in ORDER BY clauses. It is useful to order by aggregates when doing a GROUP BY as well. Example:
select sum(o.shortField) from AllFieldTypes o
group by o.intField
order by sum(o.shortField) asc