Jakarta Persistence (JPA) Method
CriteriaSelect<T> exceptAll(
CriteriaSelect<T> left,
CriteriaSelect<?> right
)
Create a query by (setwise) subtraction of the second query from the first query, without elimination of duplicate results.
- Returns:
- a new criteria query which returns the result of subtracting the results of the second query from the results of the first query.
- Since:
- Jakarta Persistence (JPA) 3.2