JPA Method
in javax.persistence.criteria.Subquery

CollectionJoin<X,Y> correlate(
  CollectionJoin<X,Y> parentCollection
)


Create a subquery collection join object correlated to a collection join object of the enclosing query.
Parameters:
parentCollection - join object of the containing query
Return:
subquery join
Since:
JPA 2.0