Community
Participate
Working Groups
Support to call SQL functions not part of the JPQL BNF or Criteria API has been proposed for the Specification. For JPQL the proposed form is " FUNCTION(function_name {, function_arg}*)" and can be used anywhere an expression can be used in a JPQL statement. For Criteria Queries the method <T> Expression<T> function(String name, Class<T> type,Expression<?>... args); is being proposed for the CriteriaBuilder.
Added support for FUNCTION in Hermes. function() is already supported in Criteria as of JPA 2.0?
See patch in bug#305187
For Criteria Queries the method <T> Expression<T> function(String name, Class<T> type,Expression<?>... args); was introduced and supported as part of JPA 2.0
Fixed in 2.4
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink