You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Moritz Becker (JIRA)" <ji...@apache.org> on 2017/11/12 14:17:00 UTC

[jira] [Created] (DELTASPIKE-1299) Order by items are applied in alphabetic order

Moritz Becker created DELTASPIKE-1299:
-----------------------------------------

             Summary: Order by items are applied in alphabetic order
                 Key: DELTASPIKE-1299
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1299
             Project: DeltaSpike
          Issue Type: Bug
          Components: Data-Module
    Affects Versions: 1.8.0
            Reporter: Moritz Becker


DeltaSpike data applies the order bys in parsed methods in alphabetic order which leads to semantically incorrect queries.
For example, the method {{findAllOrderByNameAscIdDesc}} produces the following query:
{code:sql}
select * from ... order by id desc, name asc
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)