[ https://issues.apache.org/jira/browse/CAY-2359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev closed CAY-2359. -------------------------------- Resolution: Fixed Fix Version/s: 4.1.M1 4.0.B1 Fixed in *4.1* per https://github.com/apache/cayenne/commit/64dad5641cbd7297eb0b76071471ce707f1478ef in *4.0* per https://github.com/apache/cayenne/commit/4adfc53a8d5cb750da6114326aae844f43a3bf03 > EJBQL: db path in not supported in ORDER BY > ------------------------------------------- > > Key: CAY-2359 > URL: https://issues.apache.org/jira/browse/CAY-2359 > Project: Cayenne > Issue Type: Bug > Affects Versions: 4.0.B1, 4.1.M1 > Reporter: Nikita Timofeev > Assignee: Nikita Timofeev > Fix For: 4.0.B1, 4.1.M1 > > > Query like {{select a.paintingArray+ from Artist a order by db:a.ARTIST_ID}} > results in invalid SQL: > {code:sql} > SELECT t0.ARTIST_NAME AS sc0 FROM ARTIST t0 ORDER BY > {code} > Note missing code after {{ORDER BY}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)