Bruno Haller created OLINGO-1313:
------------------------------------

             Summary: Add support for "toupper()" function
                 Key: OLINGO-1313
                 URL: https://issues.apache.org/jira/browse/OLINGO-1313
             Project: Olingo
          Issue Type: Wish
          Components: odata2-jpa
    Affects Versions: V2 2.0.10
            Reporter: Bruno Haller


When using the "toupper" function in a $filter expression, the JPA processor 
fails with a ODataNotImplementedException.

The same logic is already present for "tolower" in class ODataExpressionParser 
where it says
{code:java}
case TOLOWER:
return String.format("LOWER(%s)", first);
{code}
Adding the TOUPPER support there should be easy. 

 

Reasoning: SAPUI5 allows a "case-insensitive" filter, which uses the toupper() 
function internally.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to