JPA Method
in javax.persistence.criteria.CriteriaBuilder

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