Jakarta Persistence (JPA) Method
Expression<Y> nullif(
Expression<Y> x,
Y y
)
Create an expression that tests whether its argument are equal, returning null if they are and the value of the first expression if they are not.
- Parameters:
x- expressiony- value
- Returns:
- nullif expression.
- Since:
- Jakarta Persistence (JPA) 1.0