distinct(distinct) - JPA AbstractQuery's method
Method javax.persistence.criteria.AbstractQuery
AbstractQuery<T> distinct(
boolean distinct
)
- Parameters:
-
distinct
- boolean value specifying whether duplicate results must be eliminated from the query result or whether they must be retained
- Returns:
- the modified query
- Since:
- JPA 2.0