ObjectDB ObjectDB

subquery(type) - JPA AbstractQuery's method

Method
javax.persistence.criteria.AbstractQuery
Subquery<U> subquery(
  Class<U> type
)

Create a subquery of the query.
Parameters:
type - the subquery result type
Returns:
subquery
Since:
JPA 2.0