Package | Description |
---|---|
javax.persistence.criteria |
Java Persistence Criteria API
|
Modifier and Type | Method and Description |
---|---|
<Y> Root<Y> |
Subquery.correlate(Root<Y> parentRoot)
Create a subquery root correlated to a root of the
enclosing query.
|
Root<T> |
CriteriaUpdate.from(Class<T> entityClass)
Create and add a query root corresponding to the entity
that is the target of the update.
|
Root<T> |
CriteriaDelete.from(Class<T> entityClass)
Create and add a query root corresponding to the entity
that is the target of the delete.
|
<X> Root<X> |
AbstractQuery.from(Class<X> entityClass)
Create and add a query root corresponding to the given entity,
forming a cartesian product with any existing roots.
|
Root<T> |
CriteriaUpdate.from(EntityType<T> entity)
Create and add a query root corresponding to the entity
that is the target of the update.
|
Root<T> |
CriteriaDelete.from(EntityType<T> entity)
Create and add a query root corresponding to the entity
that is the target of the delete.
|
<X> Root<X> |
AbstractQuery.from(EntityType<X> entity)
Create and add a query root corresponding to the given entity,
forming a cartesian product with any existing roots.
|
Root<T> |
CriteriaUpdate.getRoot()
Return the query root.
|
Root<T> |
CriteriaDelete.getRoot()
Return the query root.
|
<X,T extends X> |
CriteriaBuilder.treat(Root<X> root,
Class<T> type)
Downcast Root object to the specified type.
|
Modifier and Type | Method and Description |
---|---|
Set<Root<?>> |
AbstractQuery.getRoots()
Return the query roots.
|
Modifier and Type | Method and Description |
---|---|
<Y> Root<Y> |
Subquery.correlate(Root<Y> parentRoot)
Create a subquery root correlated to a root of the
enclosing query.
|
<X,T extends X> |
CriteriaBuilder.treat(Root<X> root,
Class<T> type)
Downcast Root object to the specified type.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.