Uses of Interface
javax.persistence.metamodel.EntityType
-
Packages that use EntityType Package Description javax.persistence.criteria Jakarta Persistence Criteria APIjavax.persistence.metamodel Jakarta Persistence Metamodel API -
-
Uses of EntityType in javax.persistence.criteria
Methods in javax.persistence.criteria that return EntityType Modifier and Type Method Description EntityType<X>
Root. getModel()
Return the metamodel entity corresponding to the root.Methods in javax.persistence.criteria with parameters of type EntityType Modifier and Type Method Description <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>
CriteriaDelete. from(EntityType<T> entity)
Create and add a query root corresponding to the entity that is the target of the delete.Root<T>
CriteriaUpdate. from(EntityType<T> entity)
Create and add a query root corresponding to the entity that is the target of the update. -
Uses of EntityType in javax.persistence.metamodel
Methods in javax.persistence.metamodel that return EntityType Modifier and Type Method Description <X> EntityType<X>
Metamodel. entity(java.lang.Class<X> cls)
Return the metamodel entity type representing the entity.Methods in javax.persistence.metamodel that return types with arguments of type EntityType Modifier and Type Method Description java.util.Set<EntityType<?>>
Metamodel. getEntities()
Return the metamodel entity types.
-