public interface CommonAbstractCriteria
CommonAbstractCriteriainterface defines functionality that is common to both top-level criteria queries and subqueries as well as to update and delete criteria operations. It is not intended to be used directly in query construction.
Note that criteria queries and criteria update and delete operations are typed differently. Criteria queries are typed according to the query result type. Update and delete operations are typed according to the target of the update or delete.
<U> Subquery<U> subquery(java.lang.Class<U> type)
type- the subquery result type