JPA Methodin javax.persistence.criteria.SubqueryAbstractQuery<?> getParent() Return the query of which this is a subquery. This must be a CriteriaQuery or a Subquery. Return: the enclosing query or subquerySince:JPA 2.0