Example usage for Java javax.persistence.criteria Subquery fields, constructors, methods, implement or subclass
The text is from its open source code.
subquery(Class type) Create a subquery of the query. |
Root | correlate(Root Create a subquery root correlated to a root of the enclosing query. |
Join | correlate(Join Create a subquery join object correlated to a join object of the enclosing query. |
CollectionJoin | correlate(CollectionJoin Create a subquery collection join object correlated to a collection join object of the enclosing query. |
SetJoin | correlate(SetJoin Create a subquery set join object correlated to a set join object of the enclosing query. |
ListJoin | correlate(ListJoin Create a subquery list join object correlated to a list join object of the enclosing query. |
MapJoin | correlate(MapJoin Create a subquery map join object correlated to a map join object of the enclosing query. |
Root | from(Class Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots. |
Subquery | select(Expression Specify the item that is to be returned as the subquery result. |
Subquery | where(Expression Modify the subquery to restrict the result according to the specified boolean expression. |
Subquery | where(Predicate... restrictions) Modify the subquery to restrict the result according to the conjunction of the specified restriction predicates. |