Create a subquery root correlated to a root of the enclosing query.
- Parameters:
parentRoot- a root of the containing query
- Returns:
- subquery root.
- Since:
- Jakarta Persistence (JPA) 1.0