ObjectDB ObjectDB

coalesce(x, y) - JPA CriteriaBuilder's method

Create an expression that returns null if all its arguments evaluate to null, and the value of the first non-null argument otherwise.
Parameters:
x - expression
y - expression
Returns:
coalesce expression
Since:
JPA 2.0