[
https://issues.apache.org/jira/browse/OLINGO-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Archana Rai resolved OLINGO-1313.
---------------------------------
Resolution: Fixed
The provided code is merged now:
[https://git-wip-us.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=39e00568c13b5decc124256ecf8a83fa155f496a]
> 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
> Priority: Major
> Attachments: 0001-OLINGO-1313-Add-support-for-toUpper-function.patch
>
>
> 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}
> The attached .patch file contains an implementation for toupper.
>
> Reasoning: SAPUI5 allows a "case-insensitive" filter, which uses the
> toupper() function internally.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)