Uses of Interface
jakarta.persistence.metamodel.EntityType
Packages that use EntityType
Package
Description
Defines the Jakarta Persistence Criteria Query API.
Defines the Jakarta Persistence Metamodel API, allowing runtime
reflection on the managed types declared by a persistence unit.
-
Uses of EntityType in jakarta.persistence.criteria
Methods in jakarta.persistence.criteria that return EntityTypeModifier and TypeMethodDescriptionRoot.getModel()Return the metamodel entity corresponding to the root.Methods in jakarta.persistence.criteria with parameters of type EntityTypeModifier and TypeMethodDescription<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.CriteriaStatement.from(EntityType<T> entity) Create and add a statement root corresponding to the entity that is affected by the statement.From.join(EntityType<Y> entity) Create and add an inner join to the given entity.From.join(EntityType<Y> entity, JoinType joinType) Create and add a join to the given entity.<U> Subquery<U> CommonAbstractCriteria.subquery(EntityType<U> type) Create a subquery of the query. -
Uses of EntityType in jakarta.persistence.metamodel
Methods in jakarta.persistence.metamodel that return EntityTypeModifier and TypeMethodDescription<X> EntityType<X> Return the metamodel entity type representing the entity.EntityType<?> Return the metamodel entity type representing the entity.Methods in jakarta.persistence.metamodel that return types with arguments of type EntityTypeModifier and TypeMethodDescriptionSet<EntityType<?>> Metamodel.getEntities()Return the metamodel entity types.