Jurgen Doll created CAY-2842:
--------------------------------
Summary: Prevent duplicate select columns when using distinct with
order by
Key: CAY-2842
URL: https://issues.apache.org/jira/browse/CAY-2842
Project: Cayenne
Issue Type: Improvement
Components: Core Library
Affects Versions: 4.2
Reporter: Jurgen Doll
When a "select distinct" query has an "order by" clause then the "order by"
fields must also be listed in the select clause. However no check is currently
done to see if the column is already specified which can result in duplicate
columns being fetched.
This is listed as a TODO item in OrderingStage.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)