You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Bruno Haller (JIRA)" <ji...@apache.org> on 2018/10/26 14:33:00 UTC

[jira] [Created] (OLINGO-1313) Add support for "toupper()" function

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)