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:20:01 UTC

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

    [ https://issues.apache.org/jira/browse/DELTASPIKE-1299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16248872#comment-16248872 ] 

Moritz Becker commented on DELTASPIKE-1299:
-------------------------------------------

A PR with a fix will follow shortly.

> 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)