You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2014/11/26 06:13:12 UTC

[jira] [Closed] (OLINGO-497) JPQLSelectContextView should use LinkedHashMap for OrderBy

     [ https://issues.apache.org/jira/browse/OLINGO-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Bolz closed OLINGO-497.
-------------------------------

> JPQLSelectContextView should use LinkedHashMap for OrderBy
> ----------------------------------------------------------
>
>                 Key: OLINGO-497
>                 URL: https://issues.apache.org/jira/browse/OLINGO-497
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.0
>            Reporter: Kiran G
>            Assignee: Michael Bolz
>
> JPQLSelectContextView has a method to getOrderByCollection.
> {code}
> public HashMap<String, String> getOrderByCollection();
> {code}
> This method really should return LinkedHashMap to preserve the order of the  $orderby's specified in the url. With the HashMap the orderbys are now being applied in a random order in the query.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)