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)

Reply via email to