[
https://issues.apache.org/jira/browse/CAY-2673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Timofeev closed CAY-2673.
--------------------------------
Resolution: Fixed
https://github.com/apache/cayenne/commit/7411fdf400904ccb6ecb1c1b47ccd52e297a65dc
> Support ordering by aggregate functions
> ---------------------------------------
>
> Key: CAY-2673
> URL: https://issues.apache.org/jira/browse/CAY-2673
> Project: Cayenne
> Issue Type: Improvement
> Components: Core Library
> Reporter: Nikita Timofeev
> Assignee: Nikita Timofeev
> Priority: Minor
> Fix For: 4.2.M2
>
>
> Ordering generated by expression like {{Parent.CHILD.count().asc()}} is
> formally valid and accepted by the Cayenne stack, but it generates invalid
> SQL. To be specific, Group By clause is missing in that case.
> It doesn't seem important feature but we still should support this ordering,
> especially this doesn't require much effort in the current translator.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)