getCorrelatedJoins() - JPA Subquery's method

Method
javax.persistence.criteria.Subquery
Set<Join<?,?>> getCorrelatedJoins()

Return the correlated joins of the subquery. Returns empty set if the subquery has no correlated joins. Modifications to the set do not affect the query.
Returns:
the correlated joins of the subquery
Since:
JPA 2.0