Expression<Y> coalesce(
Expression<?extendsY> x,
Y y
)
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
- expressiony
- value
- Return:
- coalesce expression
- Since:
- JPA 2.0