Nikita Timofeev created CAY-2673: ------------------------------------ Summary: 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 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)