ObjectDB ObjectDB

correlate(parentRoot) - JPA Subquery's method

Method
javax.persistence.criteria.Subquery
Root<Y> correlate(
  Root<Y> parentRoot
)

Create a subquery root correlated to a root of the enclosing query.
Parameters:
parentRoot - a root of the containing query
Returns:
subquery root
Since:
JPA 2.0