function(name, type, args) - JPA CriteriaBuilder's method
Method javax.persistence.criteria.CriteriaBuilder
Expression<T> function(
String name,
Class<T> type,
Expression... args
)
Create an expression for the execution of a database function.
- Parameters:
-
name
- function nametype
- expected result typeargs
- function arguments
- Returns:
- expression
- Since:
- JPA 2.0