You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Kiran G (JIRA)" <ji...@apache.org> on 2014/11/24 12:35:12 UTC
[jira] [Created] (OLINGO-497) JPQLSelectContextView should use
LinkedHashMap for OrderBy
Kiran G created OLINGO-497:
------------------------------
Summary: 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
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)