Set<Root<?>> getRoots()
Return the query roots. These are the roots that have been defined for the
CriteriaQuery
or Subquery
itself, including any subquery roots defined as a result of correlation. Returns empty set if no roots have been defined. Modifications to the set do not affect the query. - Return:
- the set of query roots
- Since:
- JPA 2.0