createSubqueryDefinition

Create a query definition object whose root is derived from a domain
object of the containing query. Provides support for correlated
subqueries. Joins against the resulting domain object do not affect the
query domain of the containing query. The path expression must correspond
to an entity class. The path expression must not be a domain object of
the containing query.

Parameters:

path - -
path expression corresponding to the domain object used to
derive the subquery root.