Details
-
Wish
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
V2 2.0.10
-
None
-
None
Description
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
case TOLOWER: return String.format("LOWER(%s)", first);
The attached .patch file contains an implementation for toupper.
Reasoning: SAPUI5 allows a "case-insensitive" filter, which uses the toupper() function internally.