Package | Description |
---|---|
javax.persistence.criteria |
Java Persistence Criteria API
|
javax.persistence.metamodel |
Java Persistence Metamodel API
|
Modifier and Type | Method and Description |
---|---|
EntityType<X> |
Root.getModel()
Return the metamodel entity corresponding to the root.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
<X> EntityType<X> |
Metamodel.entity(Class<X> cls)
Return the metamodel entity type representing the entity.
|
Modifier and Type | Method and Description |
---|---|
Set<EntityType<?>> |
Metamodel.getEntities()
Return the metamodel entity types.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.