Uses of Interface
org.hibernate.persister.entity.EntityPersister
Packages that use EntityPersister
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory
, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session
and StatelessSession
,
the most important APIs exposing persistence-related operations for
entities.The various concrete action implementations.
Support for integrating Jakarta Bean Validation.
Internal implementations and support for second-level caching.
Defines the integration aspect of Hibernate's second-level caching, allowing
a "caching backend" to be plugged in as a cache provider.
Defines contracts for transactional and concurrent access to cached
entity and
collection data.
This package defines formats for disassembled state kept in the second level cache.
This package provides a framework intended to reduce the work needed to implement
a caching provider.
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
Support for
Dialect
-specific identity column handling.Support for
Dialect
-specific locking strategies.Support for many of the internal workings of Hibernate.
Models the fetch profiles defined by the application.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
This package defines a default set of event listeners that implement
the default behaviors of Hibernate session operations.
Defines the event types and event listener interfaces for
events produced by the stateful
Session
.This package defines an abstraction over all kinds of automatic
value generation, including id generation and version number
generation.
Contains a framework of strategies for efficient retrieval of
database-generated values.
This package and its subpackages, especially
org.hibernate.id.enhanced
,
contain the built-in id generators, all of which implement either
IdentifierGenerator
or
PostInsertIdentifierGenerator
.Contains a framework of strategies for retrieving database-generated ids.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.This package defines an API for accessing the runtime metamodel describing persistent
entities in Java and their mappings to the relational database schema.
Defines the runtime mapping metamodel, which describes the mapping
of the application's domain model parts (entities, attributes) to
relational database objects (tables, columns).
Implementation of the SPI for the runtime domain metamodel.
An SPI supporting custom instantiation of
entity instances and
embeddable objects.
This package abstracts persistence mechanisms for collections.
This package abstracts persistence mechanisms for entities.
Defines support for performing mutation operations originating
from persistence-context events.
Built-in implementation of the SPI for integrating entity and collection persisters.
An SPI for integrating custom entity and collection persisters.
Contains some functions for pretty-printing things for exception and log messages.
Defines the internal implementation of the stored procedure SPI.
Validation for HQL queries.
Implementation of the SPIs for native SQL query support.
Package for the SQM-backed Query implementation details
Support for multi-table SQM mutation (insert, update, delete) operations using
a table to temporarily hold the matching ids.
Package for the translation of SQM into SQL AST
Support for common table expressions (CTE) in a SQL tree.
AST nodes representing expressions in a SQL tree.
The built-in implementation of the statistics collection service.
Most contracts here have been replaced by the new runtime
mapping model.
A Hibernate
Type
is a strategy for mapping a Java
property type to a JDBC type or types.-
Uses of EntityPersister in org.hibernate
Methods in org.hibernate that return EntityPersisterModifier and TypeMethodDescriptionCustomEntityDirtinessStrategy.AttributeInformation.getContainingPersister()
Get a reference to the persister for the entity containing this attribute.Methods in org.hibernate with parameters of type EntityPersisterModifier and TypeMethodDescriptionboolean
CustomEntityDirtinessStrategy.canDirtyCheck
(Object entity, EntityPersister persister, Session session) Is this strategy capable of telling whether the given entity is dirty? A return oftrue
means thatCustomEntityDirtinessStrategy.isDirty(java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.Session)
will be called next as the definitive means to determine whether the entity is dirty.void
CustomEntityDirtinessStrategy.findDirty
(Object entity, EntityPersister persister, Session session, CustomEntityDirtinessStrategy.DirtyCheckContext dirtyCheckContext) Callback used to hook into Hibernate algorithm for determination of which attributes have changed.boolean
CustomEntityDirtinessStrategy.isDirty
(Object entity, EntityPersister persister, Session session) The callback used by Hibernate to determine if the given entity is dirty.void
CustomEntityDirtinessStrategy.resetDirty
(Object entity, EntityPersister persister, Session session) Callback used by Hibernate to signal that the entity dirty flag should be cleared. -
Uses of EntityPersister in org.hibernate.action.internal
Methods in org.hibernate.action.internal that return EntityPersisterModifier and TypeMethodDescriptionfinal EntityPersister
EntityAction.getPersister()
entity persister accessorMethods in org.hibernate.action.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionprotected boolean
EntityInsertAction.cacheInsert
(EntityPersister persister, Object ck) protected void
EntityUpdateAction.handleNaturalIdResolutions
(EntityPersister persister, SharedSessionContractImplementor session, Object id) protected boolean
EntityInsertAction.isCachePutEnabled
(EntityPersister persister, SharedSessionContractImplementor session) protected void
EntityDeleteAction.postDeleteLoaded
(Object id, EntityPersister persister, SharedSessionContractImplementor session, Object instance, Object ck) protected void
EntityDeleteAction.postDeleteUnloaded
(Object id, EntityPersister persister, SharedSessionContractImplementor session, Object ck) static void
BulkOperationCleanupAction.schedule
(SharedSessionContractImplementor session, EntityPersister... affectedQueryables) protected boolean
EntityUpdateAction.updateCache
(EntityPersister persister, Object previousVersion, Object ck) Constructors in org.hibernate.action.internal with parameters of type EntityPersisterModifierConstructorDescriptionprotected
AbstractEntityInsertAction
(Object id, Object[] state, Object instance, boolean isVersionIncrementDisabled, EntityPersister persister, EventSource session) Constructs an AbstractEntityInsertAction object.BulkOperationCleanupAction
(SharedSessionContractImplementor session, EntityPersister... affectedQueryables) Constructs an action to cleanup "affected cache regions" based on the affected entity persisters.protected
EntityAction
(EventSource session, Object id, Object instance, EntityPersister persister) Instantiate an action.EntityDeleteAction
(Object id, Object[] state, Object version, Object instance, EntityPersister persister, boolean isCascadeDeleteEnabled, EventSource session) Constructs an EntityDeleteAction.EntityDeleteAction
(Object id, EntityPersister persister, EventSource session) Constructs an EntityDeleteAction for an unloaded proxy.EntityIdentityInsertAction
(Object[] state, Object instance, EntityPersister persister, boolean isVersionIncrementDisabled, EventSource session, boolean isDelayed) Constructs an EntityIdentityInsertActionEntityInsertAction
(Object id, Object[] state, Object instance, Object version, EntityPersister persister, boolean isVersionIncrementDisabled, EventSource session) Constructs an EntityInsertAction.EntityUpdateAction
(Object id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, EntityPersister persister, EventSource session) Constructs an EntityUpdateActionOrphanRemovalAction
(Object id, Object[] state, Object version, Object instance, EntityPersister persister, boolean isCascadeDeleteEnabled, EventSource session) -
Uses of EntityPersister in org.hibernate.boot.beanvalidation
Constructors in org.hibernate.boot.beanvalidation with parameters of type EntityPersisterModifierConstructorDescriptionHibernateTraversableResolver
(EntityPersister persister, ConcurrentHashMap<EntityPersister, Set<String>> associationsPerEntityPersister, SessionFactoryImplementor factory) Constructor parameters in org.hibernate.boot.beanvalidation with type arguments of type EntityPersisterModifierConstructorDescriptionHibernateTraversableResolver
(EntityPersister persister, ConcurrentHashMap<EntityPersister, Set<String>> associationsPerEntityPersister, SessionFactoryImplementor factory) -
Uses of EntityPersister in org.hibernate.boot.internal
Methods in org.hibernate.boot.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionboolean
DefaultCustomEntityDirtinessStrategy.canDirtyCheck
(Object entity, EntityPersister persister, Session session) void
DefaultCustomEntityDirtinessStrategy.findDirty
(Object entity, EntityPersister persister, Session session, CustomEntityDirtinessStrategy.DirtyCheckContext dirtyCheckContext) boolean
DefaultCustomEntityDirtinessStrategy.isDirty
(Object entity, EntityPersister persister, Session session) void
DefaultCustomEntityDirtinessStrategy.resetDirty
(Object entity, EntityPersister persister, Session session) -
Uses of EntityPersister in org.hibernate.cache.internal
Methods in org.hibernate.cache.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionDefaultCacheKeysFactory.createEntityKey
(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) SimpleCacheKeysFactory.createEntityKey
(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) DefaultCacheKeysFactory.createNaturalIdKey
(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) SimpleCacheKeysFactory.createNaturalIdKey
(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) protected void
EnabledCaching.evictEntityData
(EntityPersister entityDescriptor) static NaturalIdCacheKey
NaturalIdCacheKey.from
(Object naturalIdValues, EntityPersister persister, String entityName, SharedSessionContractImplementor session) static NaturalIdCacheKey
NaturalIdCacheKey.from
(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) boolean
CollectionCacheInvalidator.requiresPostCommitHandling
(EntityPersister persister) static Object
DefaultCacheKeysFactory.staticCreateEntityKey
(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) static Object
DefaultCacheKeysFactory.staticCreateNaturalIdKey
(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) -
Uses of EntityPersister in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptionCacheKeysFactory.createEntityKey
(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) CacheKeysFactory.createNaturalIdKey
(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) -
Uses of EntityPersister in org.hibernate.cache.spi.access
Methods in org.hibernate.cache.spi.access with parameters of type EntityPersisterModifier and TypeMethodDescriptionEntityDataAccess.generateCacheKey
(Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, String tenantIdentifier) To create instances of keys for this region, Hibernate will invoke this method exclusively so that generated implementations can generate optimised keys.NaturalIdDataAccess.generateCacheKey
(Object naturalIdValues, EntityPersister rootEntityDescriptor, SharedSessionContractImplementor session) To create instances of NaturalIdCacheKey for this region, Hibernate will invoke this method exclusively so that generated implementations can generate optimised keys. -
Uses of EntityPersister in org.hibernate.cache.spi.entry
Methods in org.hibernate.cache.spi.entry that return EntityPersisterMethods in org.hibernate.cache.spi.entry with parameters of type EntityPersisterModifier and TypeMethodDescriptionObject[]
StandardCacheEntryImpl.assemble
(Object instance, Object id, EntityPersister persister, Interceptor interceptor, EventSource session) Assemble the previously disassembled state represented by this entry into the given entity instance.Constructors in org.hibernate.cache.spi.entry with parameters of type EntityPersisterModifierConstructorDescriptionReferenceCacheEntryImpl
(Object reference, EntityPersister subclassPersister) Constructs a ReferenceCacheEntryImplStandardCacheEntryImpl
(Object[] state, EntityPersister persister, Object version, SharedSessionContractImplementor session, Object owner) Constructs a StandardCacheEntryImplStructuredCacheEntry
(EntityPersister persister) Constructs a StructuredCacheEntry strategy -
Uses of EntityPersister in org.hibernate.cache.spi.support
Methods in org.hibernate.cache.spi.support with parameters of type EntityPersisterModifier and TypeMethodDescriptionAbstractEntityDataAccess.generateCacheKey
(Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, String tenantIdentifier) AbstractNaturalIdDataAccess.generateCacheKey
(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) EntityReadWriteAccess.generateCacheKey
(Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, String tenantIdentifier) NaturalIdReadWriteAccess.generateCacheKey
(Object naturalIdValues, EntityPersister rootEntityDescriptor, SharedSessionContractImplementor session) -
Uses of EntityPersister in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type EntityPersisterModifier and TypeMethodDescriptionDialect.getLockingStrategy
(EntityPersister lockable, LockMode lockMode) ALockingStrategy
which is able to acquire a database-level lock with the specified level.DialectDelegateWrapper.getLockingStrategy
(EntityPersister lockable, LockMode lockMode) SpannerDialect.getLockingStrategy
(EntityPersister lockable, LockMode lockMode) -
Uses of EntityPersister in org.hibernate.dialect.identity
Methods in org.hibernate.dialect.identity with parameters of type EntityPersisterModifier and TypeMethodDescriptionIdentityColumnSupport.buildGetGeneratedKeysDelegate
(EntityPersister persister) The delegate for dealing withIDENTITY
columns usingStatement.getGeneratedKeys()
.IdentityColumnSupportImpl.buildGetGeneratedKeysDelegate
(EntityPersister persister) Oracle12cIdentityColumnSupport.buildGetGeneratedKeysDelegate
(EntityPersister persister) SybaseJconnIdentityColumnSupport.buildGetGeneratedKeysDelegate
(EntityPersister persister) -
Uses of EntityPersister in org.hibernate.dialect.lock
Methods in org.hibernate.dialect.lock that return EntityPersisterModifier and TypeMethodDescriptionprotected EntityPersister
AbstractSelectLockingStrategy.getLockable()
Constructors in org.hibernate.dialect.lock with parameters of type EntityPersisterModifierConstructorDescriptionprotected
AbstractSelectLockingStrategy
(EntityPersister lockable, LockMode lockMode) OptimisticForceIncrementLockingStrategy
(EntityPersister lockable, LockMode lockMode) Construct locking strategy.OptimisticLockingStrategy
(EntityPersister lockable, LockMode lockMode) Construct locking strategy.PessimisticForceIncrementLockingStrategy
(EntityPersister lockable, LockMode lockMode) Construct locking strategy.PessimisticReadSelectLockingStrategy
(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL SELECT statements.PessimisticReadUpdateLockingStrategy
(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL UPDATE statements.PessimisticWriteSelectLockingStrategy
(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL SELECT statements.PessimisticWriteUpdateLockingStrategy
(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL UPDATE statements.SelectLockingStrategy
(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL SELECT statements.UpdateLockingStrategy
(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL UPDATE statements. -
Uses of EntityPersister in org.hibernate.engine.internal
Fields in org.hibernate.engine.internal declared as EntityPersisterMethods in org.hibernate.engine.internal that return EntityPersisterModifier and TypeMethodDescriptionfinal EntityPersister
AbstractEntityEntry.getPersister()
protected EntityPersister
NaturalIdResolutionsImpl.locatePersisterForKey
(EntityPersister persister) It is only valid to define natural ids at the root of an entity hierarchy.Methods in org.hibernate.engine.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionStatefulPersistenceContext.addEntity
(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement) StatefulPersistenceContext.addEntry
(Object entity, Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement) static void
TwoPhaseLoad.addUninitializedCachedEntity
(EntityKey key, Object object, EntityPersister persister, LockMode lockMode, Object version, SharedSessionContractImplementor session) static <T> void
Cascade.cascade
(CascadingAction<T> action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent) Cascade an action from the parent entity instance to all its children.static <T> void
Cascade.cascade
(CascadingAction<T> action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent, T anything) Cascade an action from the parent entity instance to all its children.void
Nullability.checkNullability
(Object[] values, EntityPersister persister, boolean isUpdate) Check nullability of the class persister propertiesvoid
Nullability.checkNullability
(Object[] values, EntityPersister persister, Nullability.NullabilityCheckType checkType) ImmutableEntityEntryFactory.createEntityEntry
(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext) MutableEntityEntryFactory.createEntityEntry
(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext) static Object
CacheHelper.fromSharedCache
(SharedSessionContractImplementor session, Object cacheKey, EntityPersister persister, boolean isNaturalKey, CachedDomainDataAccess cacheAccess) static Object
CacheHelper.fromSharedCache
(SharedSessionContractImplementor session, Object cacheKey, EntityPersister persister, CachedDomainDataAccess cacheAccess) Object[]
StatefulPersistenceContext.getDatabaseSnapshot
(Object id, EntityPersister persister) Get the current state of the entity as known to the underlying database, or null if there is no corresponding rowStatefulPersistenceContext.getNaturalIdSnapshot
(Object id, EntityPersister persister) static Object
Versioning.getVersion
(Object[] fields, EntityPersister persister) Extract the optimistic locking value out of the entity state snapshot.static Object
Versioning.incrementVersion
(Object entity, Object currentVersion, EntityPersister persister, SharedSessionContractImplementor session) Generate the next increment in the optimistic locking value according theGenerator
contract for the version property.protected EntityPersister
NaturalIdResolutionsImpl.locatePersisterForKey
(EntityPersister persister) It is only valid to define natural ids at the root of an entity hierarchy.StatefulPersistenceContext.narrowProxy
(Object proxy, EntityPersister persister, EntityKey key, Object object) StatefulPersistenceContext.proxyFor
(EntityHolder holder, EntityPersister persister) StatefulPersistenceContext.proxyFor
(EntityPersister persister, EntityKey key, Object impl) void
StatefulPersistenceContext.registerInsertedKey
(EntityPersister persister, Object id) static void
BatchFetchQueueHelper.removeBatchLoadableEntityKey
(Object id, EntityPersister persister, SharedSessionContractImplementor session) Remove the entity key with the specifiedid
andpersister
from the batch loadable entitiesBatchFetchQueue
.static void
BatchFetchQueueHelper.removeNotFoundBatchLoadableEntityKeys
(Serializable[] ids, List<?> results, EntityPersister persister, SharedSessionContractImplementor session) Finds the IDs for entities that were not found when the batch was loaded, and removes the corresponding entity keys from theBatchFetchQueue
.boolean
NaturalIdResolutionsImpl.sameAsCached
(EntityPersister persister, Object pk, Object naturalIdValues) Are the naturals id values cached here (if any) for the given persister+pk combo the same as the given values?static boolean
Versioning.seedVersion
(Object entity, Object[] fields, EntityPersister persister, SharedSessionContractImplementor session) Create an initial optimistic locking value using the for the version property if required using theGenerator
contract and inject it into the snapshot state.static void
Versioning.setVersion
(Object[] fields, Object version, EntityPersister persister) Inject the optimistic locking value into the entity state snapshot.void
NaturalIdResolutionsImpl.stashInvalidNaturalIdReference
(EntityPersister persister, Object invalidNaturalIdValues) As part of "load synchronization process", if a particular natural id is found to have changed we need to track its invalidity until after the next flush.boolean
StatefulPersistenceContext.wasInsertedDuringTransaction
(EntityPersister persister, Object id) Constructors in org.hibernate.engine.internal with parameters of type EntityPersisterModifierConstructorDescriptionAbstractEntityEntry
(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext) ImmutableEntityEntry
(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement) MutableEntityEntry
(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext) Nullifier
(Object self, boolean isDelete, boolean isEarlyInsert, SharedSessionContractImplementor session, EntityPersister persister) Constructs a Nullifier -
Uses of EntityPersister in org.hibernate.engine.profile
Methods in org.hibernate.engine.profile that return EntityPersisterMethods in org.hibernate.engine.profile with parameters of type EntityPersisterModifier and TypeMethodDescriptionboolean
DefaultFetchProfile.hasSubselectLoadableCollectionsEnabled
(EntityPersister persister) boolean
FetchProfile.hasSubselectLoadableCollectionsEnabled
(EntityPersister persister) Constructors in org.hibernate.engine.profile with parameters of type EntityPersisterModifierConstructorDescriptionAssociation
(EntityPersister owner, String associationPath) Constructs an association defining what is to be fetched. -
Uses of EntityPersister in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return EntityPersisterModifier and TypeMethodDescriptionEntityHolder.getDescriptor()
SessionDelegatorBaseImpl.getEntityPersister
(@Nullable String entityName, Object object) SharedSessionContractImplementor.getEntityPersister
(@Nullable String entityName, Object object) Get theEntityPersister
for the given entity instance.SharedSessionDelegatorBaseImpl.getEntityPersister
(@Nullable String entityName, Object object) EntityEntry.getPersister()
EntityKey.getPersister()
Methods in org.hibernate.engine.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptionPersistenceContext.addEntity
(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement) Adds an entity to the internal caches.PersistenceContext.addEntry
(Object entity, Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement) Generates an appropriate EntityEntry instance and adds it to the event source's internal caches.EntityEntryFactory.createEntityEntry
(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext) CreatesEntityEntry
.int
LoadQueryInfluencers.effectiveBatchSize
(EntityPersister persister) boolean
LoadQueryInfluencers.effectivelyBatchLoadable
(EntityPersister persister) SessionDelegatorBaseImpl.generateEntityKey
(Object id, EntityPersister persister) SharedSessionContractImplementor.generateEntityKey
(Object id, EntityPersister persister) Instantiate anEntityKey
with the given id and for the entity represented by the givenEntityPersister
.SharedSessionDelegatorBaseImpl.generateEntityKey
(Object id, EntityPersister persister) Object[]
PersistenceContext.getDatabaseSnapshot
(Object id, EntityPersister persister) Get the current state of the entity as known to the underlying database, or null if there is no corresponding rowPersistenceContext.getNaturalIdSnapshot
(Object id, EntityPersister persister) Get the values of the natural id fields as known to the underlying database, or null if the entity has no natural id or there is no corresponding row.boolean
LoadQueryInfluencers.hasSubselectLoadableCollections
(EntityPersister persister) SessionDelegatorBaseImpl.instantiate
(EntityPersister persister, Object id) SessionImplementor.instantiate
(EntityPersister persister, Object id) SharedSessionContractImplementor.instantiate
(EntityPersister persister, Object id) Instantiate the entity class of the givenEntityPersister
, initializing the new instance with the given identifier.SharedSessionDelegatorBaseImpl.instantiate
(EntityPersister persister, Object id) PersistenceContext.narrowProxy
(Object proxy, EntityPersister persister, EntityKey key, Object object) If the existing proxy is insufficiently "narrow" (derived), instantiate a new proxy and overwrite the registration of the old one.default void
CascadingAction.noCascade
(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex) Deprecated, for removal: This API element is subject to removal in a future version.No longer usedPersistenceContext.proxyFor
(EntityHolder holder, EntityPersister persister) PersistenceContext.proxyFor
(EntityPersister persister, EntityKey key, Object impl) Return the existing proxy associated with the givenEntityKey
, or the third argument (the entity associated with the key) if no proxy exists.void
PersistenceContext.registerInsertedKey
(EntityPersister persister, Object id) Register keys inserted during the current transactionboolean
PersistenceContext.wasInsertedDuringTransaction
(EntityPersister persister, Object id) Allows callers to check to see if the identified entity was inserted during the current transaction.Constructors in org.hibernate.engine.spi with parameters of type EntityPersisterModifierConstructorDescriptionEntityKey
(@Nullable Object id, EntityPersister persister) Construct a unique identifier for an entity class instance. -
Uses of EntityPersister in org.hibernate.envers.event.spi
Methods in org.hibernate.envers.event.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptionprotected final void
BaseEnversEventListener.generateBidirectionalCollectionChangeWorkUnits
(AuditProcess auditProcess, EntityPersister entityPersister, String entityName, Object[] newState, Object[] oldState, SessionImplementor session) boolean
EnversPostDeleteEventListenerImpl.requiresPostCommitHandling
(EntityPersister persister) boolean
EnversPostInsertEventListenerImpl.requiresPostCommitHandling
(EntityPersister persister) boolean
EnversPostUpdateEventListenerImpl.requiresPostCommitHandling
(EntityPersister persister) -
Uses of EntityPersister in org.hibernate.envers.internal.synchronization.work
Constructors in org.hibernate.envers.internal.synchronization.work with parameters of type EntityPersisterModifierConstructorDescriptionAddWorkUnit
(SessionImplementor sessionImplementor, String entityName, EnversService enversService, Object id, EntityPersister entityPersister, Object[] state) DelWorkUnit
(SessionImplementor sessionImplementor, String entityName, EnversService enversService, Object id, EntityPersister entityPersister, Object[] state) ModWorkUnit
(SessionImplementor sessionImplementor, String entityName, EnversService enversService, Object id, EntityPersister entityPersister, Object[] newState, Object[] oldState) -
Uses of EntityPersister in org.hibernate.event.internal
Methods in org.hibernate.event.internal that return EntityPersisterModifier and TypeMethodDescriptionprotected EntityPersister
DefaultLoadEventListener.getPersister
(LoadEvent event) Methods in org.hibernate.event.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionprotected void
DefaultDeleteEventListener.cascadeAfterDelete
(EventSource session, EntityPersister persister, Object entity, DeleteContext transientEntities) protected void
AbstractSaveEventListener.cascadeAfterSave
(EventSource source, EntityPersister persister, Object entity, C context) Handles calls needed to perform post-save cascades.protected void
DefaultMergeEventListener.cascadeAfterSave
(EventSource source, EntityPersister persister, Object entity, MergeContext anything) Cascade behavior is redefined by this subclass, disable superclass behaviorprotected void
DefaultDeleteEventListener.cascadeBeforeDelete
(EventSource session, EntityPersister persister, Object entity, DeleteContext transientEntities) protected void
AbstractSaveEventListener.cascadeBeforeSave
(EventSource source, EntityPersister persister, Object entity, C context) Handles the calls needed to perform pre-save cascades for the given entity.protected void
DefaultMergeEventListener.cascadeBeforeSave
(EventSource source, EntityPersister persister, Object entity, MergeContext anything) Cascade behavior is redefined by this subclass, disable superclass behaviorprotected void
DefaultMergeEventListener.cascadeOnMerge
(EventSource source, EntityPersister persister, Object entity, MergeContext copyCache) Perform any cascades needed as part of this copy event.void
DefaultFlushEntityEventListener.checkId
(Object object, EntityPersister persister, Object id, Status status, SessionImplementor session) Make sure user didn't mangle the id.void
EmptyEventManager.completeCacheGetEvent
(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, EntityPersister persister, boolean isNaturalKey, boolean hit) void
EmptyEventManager.completeCachePutEvent
(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, boolean isNatualId, EventManager.CacheActionDescription description) void
EmptyEventManager.completeCachePutEvent
(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description) void
EmptyEventManager.completeDirtyCalculationEvent
(HibernateMonitoringEvent dirtyCalculationEvent, SharedSessionContractImplementor session, EntityPersister persister, EntityEntry entry, int[] dirtyProperties) protected void
DefaultMergeEventListener.copyValues
(EntityPersister persister, Object entity, Object target, SessionImplementor source, MergeContext copyCache) protected void
DefaultMergeEventListener.copyValues
(EntityPersister persister, Object entity, Object target, SessionImplementor source, MergeContext copyCache, ForeignKeyDirection foreignKeyDirection) protected final void
DefaultDeleteEventListener.deleteEntity
(EventSource session, Object entity, EntityEntry entityEntry, boolean isCascadeDeleteEnabled, boolean isOrphanRemovalBeforeUpdates, EntityPersister persister, DeleteContext transientEntities) Perform the entity deletion.protected void
DefaultDeleteEventListener.deleteTransientEntity
(EventSource session, Object entity, EntityPersister persister, DeleteContext transientEntities) We encountered a delete request on a transient instance.protected void
DefaultEvictEventListener.doEvict
(Object object, EntityKey key, EntityPersister persister, EventSource session) protected Object
DefaultLoadEventListener.loadFromDatasource
(LoadEvent event, EntityPersister persister) Performs the process of loading an entity from the configured underlying datasource.protected Object
AbstractSaveEventListener.performSave
(Object entity, Object id, EntityPersister persister, boolean useIdentityColumn, C context, EventSource source, boolean delayIdentityInserts) Prepares the save call by checking the session caches for a pre-existing entity and performing any lifecycle callbacks.protected Object
AbstractSaveEventListener.performSaveOrReplicate
(Object entity, EntityKey key, EntityPersister persister, boolean useIdentityColumn, C context, EventSource source, boolean delayIdentityInserts) Performs all the actual work needed to save an entity (well to get the save moved to the execution queue).void
AbstractVisitor.process
(Object object, EntityPersister persister) Walk the tree starting from the given entity.void
WrapVisitor.process
(Object object, EntityPersister persister) protected final EntityEntry
DefaultLockEventListener.reassociate
(AbstractEvent event, Object object, Object id, EntityPersister persister) Associates a given entity (either transient or associated with another session) to the given session.boolean
PostDeleteEventListenerStandardImpl.requiresPostCommitHandling
(EntityPersister persister) boolean
PostInsertEventListenerStandardImpl.requiresPostCommitHandling
(EntityPersister persister) boolean
PostUpdateEventListenerStandardImpl.requiresPostCommitHandling
(EntityPersister persister) boolean
PostUpsertEventListenerStandardImpl.requiresPostCommitHandling
(EntityPersister persister) protected boolean
AbstractSaveEventListener.substituteValuesIfNecessary
(Object entity, Object id, Object[] values, EntityPersister persister, SessionImplementor source) Perform any property value substitution that is necessary (interceptor callback, version initialization...)protected boolean
DefaultReplicateEventListener.substituteValuesIfNecessary
(Object entity, Object id, Object[] values, EntityPersister persister, SessionImplementor source) Deprecated. -
Uses of EntityPersister in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return EntityPersisterModifier and TypeMethodDescriptionResolveNaturalIdEvent.getEntityPersister()
AbstractPreDatabaseOperationEvent.getPersister()
The persister for the entity.PostDeleteEvent.getPersister()
PostInsertEvent.getPersister()
PostLoadEvent.getPersister()
PostUpdateEvent.getPersister()
PostUpsertEvent.getPersister()
PreLoadEvent.getPersister()
Methods in org.hibernate.event.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptionvoid
EventManager.completeCacheGetEvent
(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, EntityPersister persister, boolean isNaturalKey, boolean hit) void
EventManager.completeCachePutEvent
(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, boolean isNatualId, EventManager.CacheActionDescription description) void
EventManager.completeCachePutEvent
(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description) void
EventManager.completeDirtyCalculationEvent
(HibernateMonitoringEvent dirtyCalculationEvent, SharedSessionContractImplementor session, EntityPersister persister, EntityEntry entry, int[] dirtyProperties) EventSource.instantiate
(EntityPersister persister, Object id) Instantiate an entity instance, using either an interceptor, or the given persisterPostLoadEvent.setPersister
(EntityPersister persister) PreLoadEvent.setPersister
(EntityPersister persister) Constructors in org.hibernate.event.spi with parameters of type EntityPersisterModifierConstructorDescriptionAbstractPreDatabaseOperationEvent
(EventSource source, Object entity, Object id, EntityPersister persister) Constructs an event containing the pertinent information.PostDeleteEvent
(Object entity, Object id, Object[] deletedState, EntityPersister persister, EventSource source) PostInsertEvent
(Object entity, Object id, Object[] state, EntityPersister persister, EventSource source) PostUpdateEvent
(Object entity, Object id, Object[] state, Object[] oldState, int[] dirtyProperties, EntityPersister persister, EventSource source) PostUpsertEvent
(Object entity, Object id, Object[] state, int[] dirtyProperties, EntityPersister persister, EventSource source) PreDeleteEvent
(Object entity, Object id, Object[] deletedState, EntityPersister persister, EventSource source) Constructs an event containing the pertinent information.PreInsertEvent
(Object entity, Object id, Object[] state, EntityPersister persister, EventSource source) Constructs an event containing the pertinent information.PreUpdateEvent
(Object entity, Object id, Object[] state, Object[] oldState, EntityPersister persister, EventSource source) Constructs an event containing the pertinent information.PreUpsertEvent
(Object entity, Object id, Object[] state, EntityPersister persister, EventSource source) Constructs an event containing the pertinent information.ResolveNaturalIdEvent
(Map<String, Object> naturalIdValues, EntityPersister entityPersister, EventSource source) ResolveNaturalIdEvent
(Map<String, Object> naturalIdValues, EntityPersister entityPersister, LockOptions lockOptions, EventSource source) -
Uses of EntityPersister in org.hibernate.generator
Methods in org.hibernate.generator with parameters of type EntityPersisterModifier and TypeMethodDescriptionOnExecutionGenerator.getGeneratedIdentifierDelegate
(EntityPersister persister) TheInsertGeneratedIdentifierDelegate
used to retrieve the generated value if this object is an identifier generator.default String[]
OnExecutionGenerator.getUniqueKeyPropertyNames
(EntityPersister persister) The name of a property of the entity which may be used to locate the just-insert
ed row containing the generated value. -
Uses of EntityPersister in org.hibernate.generator.internal
Methods in org.hibernate.generator.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionstatic String[]
NaturalIdHelper.getNaturalIdPropertyNames
(EntityPersister persister) -
Uses of EntityPersister in org.hibernate.generator.values
Fields in org.hibernate.generator.values declared as EntityPersisterModifier and TypeFieldDescriptionprotected final EntityPersister
AbstractGeneratedValuesMutationDelegate.persister
Constructors in org.hibernate.generator.values with parameters of type EntityPersisterModifierConstructorDescriptionAbstractGeneratedValuesMutationDelegate
(EntityPersister persister, EventType timing) AbstractGeneratedValuesMutationDelegate
(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) -
Uses of EntityPersister in org.hibernate.generator.values.internal
Methods in org.hibernate.generator.values.internal that return EntityPersisterModifier and TypeMethodDescriptionprotected EntityPersister
TableUpdateReturningBuilder.getMutationTarget()
Methods in org.hibernate.generator.values.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionGeneratedValuesHelper.createMappingProducer
(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) Utility method that instantiates aJdbcValuesMappingProducer
so it can be cached by thedelegates
when they are instantiated.static GeneratedValues
GeneratedValuesHelper.getGeneratedValues
(ResultSet resultSet, EntityPersister persister, EventType timing, SharedSessionContractImplementor session) Reads thegenerated values
for the specifiedResultSet
.GeneratedValuesHelper.getGeneratedValuesDelegate
(EntityPersister persister, EventType timing) Creates thedelegate
used to retrieve database generated values on mutation execution through e.g.static boolean
GeneratedValuesHelper.noCustomSql
(EntityPersister persister, EventType timing) Constructors in org.hibernate.generator.values.internal with parameters of type EntityPersisterModifierConstructorDescriptionTableUpdateReturningBuilder
(EntityPersister mutationTarget, MutatingTableReference tableReference, List<ColumnReference> generatedColumns, SessionFactoryImplementor sessionFactory) -
Uses of EntityPersister in org.hibernate.id
Methods in org.hibernate.id with parameters of type EntityPersisterModifier and TypeMethodDescriptionIdentityGenerator.getGeneratedIdentifierDelegate
(EntityPersister persister) NativeGenerator.getGeneratedIdentifierDelegate
(EntityPersister persister) String[]
SelectGenerator.getUniqueKeyPropertyNames
(EntityPersister persister) -
Uses of EntityPersister in org.hibernate.id.insert
Methods in org.hibernate.id.insert that return EntityPersisterModifier and TypeMethodDescriptionprotected EntityPersister
TableInsertReturningBuilder.getMutationTarget()
Constructors in org.hibernate.id.insert with parameters of type EntityPersisterModifierConstructorDescriptionAbstractReturningDelegate
(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) protected
AbstractSelectingDelegate
(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) BasicSelectingDelegate
(EntityPersister persister) GetGeneratedKeysDelegate
(EntityPersister persister, boolean inferredKeys, EventType timing) InsertReturningDelegate
(EntityPersister persister, EventType timing) TableInsertReturningBuilder
(EntityPersister mutationTarget, MutatingTableReference tableReference, List<ColumnReference> generatedColumns, SessionFactoryImplementor sessionFactory) UniqueKeySelectingDelegate
(EntityPersister persister, String[] uniqueKeyPropertyNames, EventType timing) -
Uses of EntityPersister in org.hibernate.internal
Methods in org.hibernate.internal that return EntityPersisterModifier and TypeMethodDescriptionSessionImpl.getEntityPersister
(String entityName, Object object) StatelessSessionImpl.getEntityPersister
(String entityName, Object object) Methods in org.hibernate.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionAbstractSharedSessionContract.generateEntityKey
(Object id, EntityPersister persister) SessionImpl.instantiate
(EntityPersister persister, Object id) give the interceptor an opportunity to override the default instantiationStatelessSessionImpl.instantiate
(EntityPersister persister, Object id) Constructors in org.hibernate.internal with parameters of type EntityPersisterModifierConstructorDescriptionNaturalIdMultiLoadAccessStandard
(EntityPersister entityDescriptor, SessionImpl session) -
Uses of EntityPersister in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionCacheEntityLoaderHelper.loadFromSecondLevelCache
(EventSource source, Object entity, LockMode lockMode, EntityPersister persister, EntityKey entityKey) Attempts to load the entity from the second-level cache.CacheEntityLoaderHelper.loadFromSecondLevelCache
(LoadEvent event, EntityPersister persister, EntityKey entityKey) Attempts to load the entity from the second-level cache.Constructors in org.hibernate.loader.ast.internal with parameters of type EntityPersisterModifierConstructorDescriptionMultiIdEntityLoaderStandard
(EntityPersister entityDescriptor, int idColumnSpan, SessionFactoryImplementor sessionFactory) -
Uses of EntityPersister in org.hibernate.loader.internal
Methods in org.hibernate.loader.internal that return EntityPersisterModifier and TypeMethodDescriptionprotected EntityPersister
BaseNaturalIdLoadAccessImpl.entityPersister()
Constructors in org.hibernate.loader.internal with parameters of type EntityPersisterModifierConstructorDescriptionIdentifierLoadAccessImpl
(LoadAccessContext context, EntityPersister entityPersister) -
Uses of EntityPersister in org.hibernate.metamodel
Methods in org.hibernate.metamodel that return EntityPersisterModifier and TypeMethodDescriptionMappingMetamodel.findEntityDescriptor
(Class<?> entityJavaType) Find an entity mapping descriptor based on its Class.MappingMetamodel.findEntityDescriptor
(String entityName) Find an entity mapping descriptor based on its Hibernate entity-name.MappingMetamodel.getEntityDescriptor
(Class<?> entityJavaType) Get an entity mapping descriptor based on its Class.MappingMetamodel.getEntityDescriptor
(String entityName) Get an entity mapping descriptor based on its Hibernate entity-nameMappingMetamodel.getEntityDescriptor
(NavigableRole name) Get an entity mapping descriptor based on its NavigableRole.MappingMetamodel.locateEntityDescriptor
(Class<?> byClass) Deprecated, for removal: This API element is subject to removal in a future version.No longer usedMethods in org.hibernate.metamodel that return types with arguments of type EntityPersisterModifier and TypeMethodDescriptionMappingMetamodel.streamEntityDescriptors()
Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.hibernate.metamodel with parameters of type EntityPersisterModifier and TypeMethodDescriptionRootGraph<?>
MappingMetamodel.defaultGraph
(EntityPersister entityDescriptor) MappingMetamodel.findRootGraphsForType
(EntityPersister baseEntityDescriptor) Method parameters in org.hibernate.metamodel with type arguments of type EntityPersisterModifier and TypeMethodDescriptionvoid
MappingMetamodel.forEachEntityDescriptor
(Consumer<EntityPersister> action) Visit all entity mapping descriptors defined in the model -
Uses of EntityPersister in org.hibernate.metamodel.internal
Methods in org.hibernate.metamodel.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionManagedTypeRepresentationResolverStandard.resolveStrategy
(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext) Constructors in org.hibernate.metamodel.internal with parameters of type EntityPersisterModifierConstructorDescriptionEntityRepresentationStrategyPojoStandard
(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext) -
Uses of EntityPersister in org.hibernate.metamodel.mapping
Methods in org.hibernate.metamodel.mapping that return EntityPersister -
Uses of EntityPersister in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal that return EntityPersisterMethods in org.hibernate.metamodel.mapping.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionstatic EntityIdentifierMapping
MappingModelCreationHelper.buildEncapsulatedCompositeIdentifierMapping
(EntityPersister entityPersister, Property bootProperty, String attributeName, String rootTableName, String[] rootTableKeyColumnNames, CompositeType cidType, MappingModelCreationProcess creationProcess) static CompositeIdentifierMapping
MappingModelCreationHelper.buildNonEncapsulatedCompositeIdentifierMapping
(EntityPersister entityPersister, String rootTableName, String[] rootTableKeyColumnNames, PersistentClass bootEntityDescriptor, MappingModelCreationProcess creationProcess) static ToOneAttributeMapping
MappingModelCreationHelper.buildSingularAssociationAttributeMapping
(String attrName, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, EntityPersister declaringEntityPersister, EntityType attrType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) For Hibernate Reactivestatic ToOneAttributeMapping
MappingModelCreationHelper.buildSingularAssociationAttributeMapping
(String attrName, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, EntityPersister declaringEntityPersister, EntityType attrType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess, Function<ToOneAttributeMapping, ToOneAttributeMapping> mappingConverter) Constructors in org.hibernate.metamodel.mapping.internal with parameters of type EntityPersisterModifierConstructorDescriptionBasicEntityIdentifierMappingImpl
(EntityPersister entityPersister, Supplier<?> instanceCreator, String attributeName, String rootTable, String pkColumnName, String columnDefinition, Long length, Integer precision, Integer scale, boolean insertable, boolean updateable, BasicType<?> idType, MappingModelCreationProcess creationProcess) GeneratedValuesProcessor
(EntityPersister entityDescriptor, List<AttributeMapping> generatedAttributes, EventType timing, SessionFactoryImplementor sessionFactory) NonAggregatedIdentifierMappingImpl
(EntityPersister entityPersister, RootClass bootEntityDescriptor, String rootTableName, String[] rootTableKeyColumnNames, MappingModelCreationProcess creationProcess) ToOneAttributeMapping
(String name, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, ToOne bootValue, AttributeMetadata attributeMetadata, FetchTiming mappedFetchTiming, FetchStyle mappedFetchStyle, EntityMappingType entityMappingType, ManagedMappingType declaringType, EntityPersister declaringEntityPersister, PropertyAccess propertyAccess) ToOneAttributeMapping
(String name, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, ToOne bootValue, AttributeMetadata attributeMetadata, FetchOptions mappedFetchOptions, EntityMappingType entityMappingType, ManagedMappingType declaringType, EntityPersister declaringEntityPersister, PropertyAccess propertyAccess) VirtualIdEmbeddable
(Component virtualIdSource, NonAggregatedIdentifierMapping idMapping, EntityPersister identifiedEntityMapping, String rootTableExpression, String[] rootTableKeyColumnNames, MappingModelCreationProcess creationProcess) -
Uses of EntityPersister in org.hibernate.metamodel.model.domain.internal
Methods in org.hibernate.metamodel.model.domain.internal that return EntityPersisterModifier and TypeMethodDescriptionMappingMetamodelImpl.findEntityDescriptor
(Class<?> entityJavaType) MappingMetamodelImpl.findEntityDescriptor
(String entityName) MappingMetamodelImpl.getEntityDescriptor
(Class<?> entityJavaType) MappingMetamodelImpl.getEntityDescriptor
(String entityName) MappingMetamodelImpl.getEntityDescriptor
(NavigableRole name) MappingMetamodelImpl.locateEntityDescriptor
(Class<?> byClass) Deprecated, for removal: This API element is subject to removal in a future version.EntityPersisterConcurrentMap.values()
Methods in org.hibernate.metamodel.model.domain.internal that return types with arguments of type EntityPersisterModifier and TypeMethodDescriptionEntityPersisterConcurrentMap.convertToMap()
Deprecated, for removal: This API element is subject to removal in a future version.Higly inefficient - do not use; this exists to support other deprecated methods and will be removed.MappingMetamodelImpl.streamEntityDescriptors()
Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.hibernate.metamodel.model.domain.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionRootGraph<?>
MappingMetamodelImpl.defaultGraph
(EntityPersister entityDescriptor) MappingMetamodelImpl.findRootGraphsForType
(EntityPersister baseEntityDescriptor) void
EntityPersisterConcurrentMap.put
(String name, EntityPersister entityPersister) void
EntityPersisterConcurrentMap.putIfAbsent
(String name, EntityPersister entityPersister) Method parameters in org.hibernate.metamodel.model.domain.internal with type arguments of type EntityPersisterModifier and TypeMethodDescriptionvoid
MappingMetamodelImpl.forEachEntityDescriptor
(Consumer<EntityPersister> action) -
Uses of EntityPersister in org.hibernate.metamodel.spi
Methods in org.hibernate.metamodel.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptiondefault EntityMetamodel
RuntimeModelCreationContext.createEntityMetamodel
(PersistentClass persistentClass, EntityPersister persister) ManagedTypeRepresentationResolver.resolveStrategy
(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext) Resolve the strategy to use for the given entity -
Uses of EntityPersister in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection that return EntityPersisterModifier and TypeMethodDescriptionAbstractCollectionPersister.getElementPersister()
CollectionPersister.getElementPersister()
Get the persister of the element class, if this is a collection of entities (optional operation).protected EntityPersister
AbstractCollectionPersister.getElementPersisterInternal()
AbstractCollectionPersister.getOwnerEntityPersister()
CollectionPersister.getOwnerEntityPersister()
Get the persister of the entity that "owns" this collection -
Uses of EntityPersister in org.hibernate.persister.entity
Classes in org.hibernate.persister.entity that implement EntityPersisterModifier and TypeClassDescriptionclass
Basic functionality for persisting an entity via JDBC, using either generated or custom SQL.class
AnEntityPersister
implementing the normalizedInheritanceType.JOINED
inheritance mapping strategy for an entity and its inheritance hierarchy.class
The default implementation of theEntityPersister
interface.class
AnEntityPersister
implementing theInheritanceType.TABLE_PER_CLASS
mapping strategy for an entity and its inheritance hierarchy.Methods in org.hibernate.persister.entity that return EntityPersisterModifier and TypeMethodDescriptionAbstractEntityPersister.getEntityPersister()
AbstractEntityPersister.getSubclassEntityPersister
(Object instance, SessionFactoryImplementor factory) EntityPersister.getSubclassEntityPersister
(Object instance, SessionFactoryImplementor factory) Obtain theEntityPersister
for the concrete class of the given entity instance which participates in a mapped inheritance hierarchy with this persister.Methods in org.hibernate.persister.entity with parameters of type EntityPersisterModifier and TypeMethodDescriptionprotected AttributeMapping
AbstractEntityPersister.buildSingularAssociationAttributeMapping
(String attrName, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, EntityPersister declaringEntityPersister, EntityType attrType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess) For Hibernate ReactiveConstructors in org.hibernate.persister.entity with parameters of type EntityPersisterModifierConstructorDescriptionDiscriminatorType
(BasicType<?> underlyingType, EntityPersister persister, DiscriminatorConverter converter) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of EntityPersister in org.hibernate.persister.entity.mutation
Fields in org.hibernate.persister.entity.mutation declared as EntityPersisterModifier and TypeFieldDescriptionprotected final EntityPersister
AbstractMutationCoordinator.entityPersister
Methods in org.hibernate.persister.entity.mutation that return EntityPersisterModifier and TypeMethodDescriptionprotected EntityPersister
AbstractMutationCoordinator.entityPersister()
Methods in org.hibernate.persister.entity.mutation with parameters of type EntityPersisterModifier and TypeMethodDescriptionprotected static void
AbstractMutationCoordinator.applyKeyRestriction
(Object rowId, EntityPersister entityPersister, RestrictedTableMutationBuilder<?, ?> tableMutationBuilder, EntityTableMapping tableMapping) boolean
UpdateCoordinatorStandard.hasLazyDirtyFields
(EntityPersister persister, int[] dirtyFields) protected static boolean
AbstractMutationCoordinator.needsRowId
(EntityPersister entityPersister, EntityTableMapping tableMapping) UpdateCoordinatorStandard.physicalTableMappingForMutation
(EntityPersister persister, SelectableMapping selectableMapping) Constructors in org.hibernate.persister.entity.mutation with parameters of type EntityPersisterModifierConstructorDescriptionAbstractDeleteCoordinator
(EntityPersister entityPersister, SessionFactoryImplementor factory) AbstractMutationCoordinator
(EntityPersister entityPersister, SessionFactoryImplementor factory) DeleteCoordinatorSoft
(EntityPersister entityPersister, SessionFactoryImplementor factory) DeleteCoordinatorStandard
(EntityPersister entityPersister, SessionFactoryImplementor factory) InsertCoordinatorStandard
(EntityPersister entityPersister, SessionFactoryImplementor factory) MergeCoordinator
(EntityPersister entityPersister, SessionFactoryImplementor factory) UpdateCoordinatorNoOp
(EntityPersister entityPersister) UpdateCoordinatorStandard
(EntityPersister entityPersister, SessionFactoryImplementor factory) protected
UpdateCoordinatorStandard
(EntityPersister entityPersister, SessionFactoryImplementor factory, MutationOperationGroup staticUpdateGroup, BatchKey batchKey, MutationOperationGroup versionUpdateGroup, BatchKey versionUpdateBatchkey) -
Uses of EntityPersister in org.hibernate.persister.internal
Methods in org.hibernate.persister.internal that return EntityPersisterModifier and TypeMethodDescriptionPersisterFactoryImpl.createEntityPersister
(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext creationContext) Methods in org.hibernate.persister.internal that return types with arguments of type EntityPersisterModifier and TypeMethodDescriptionClass<? extends EntityPersister>
StandardPersisterClassResolver.getEntityPersisterClass
(PersistentClass model) Class<? extends EntityPersister>
StandardPersisterClassResolver.joinedSubclassEntityPersister()
Class<? extends EntityPersister>
StandardPersisterClassResolver.singleTableEntityPersister()
Class<? extends EntityPersister>
StandardPersisterClassResolver.unionSubclassEntityPersister()
-
Uses of EntityPersister in org.hibernate.persister.spi
Methods in org.hibernate.persister.spi that return EntityPersisterModifier and TypeMethodDescriptionPersisterFactory.createEntityPersister
(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext creationContext) Create an entity persister instance.Methods in org.hibernate.persister.spi that return types with arguments of type EntityPersisterModifier and TypeMethodDescriptionClass<? extends EntityPersister>
PersisterClassResolver.getEntityPersisterClass
(PersistentClass metadata) Returns the entity persister class for a given entityName or null if the entity persister class should be the default. -
Uses of EntityPersister in org.hibernate.pretty
Methods in org.hibernate.pretty with parameters of type EntityPersisterModifier and TypeMethodDescriptionstatic String
MessageHelper.infoString
(@Nullable EntityPersister persister) Generate an info message string relating to given entity persister.static String
MessageHelper.infoString
(@Nullable EntityPersister persister, @Nullable Object id, @Nullable SessionFactoryImplementor factory) Generate an info message string relating to a particular entity.static String
MessageHelper.infoString
(@Nullable EntityPersister persister, @Nullable Object id, Type identifierType, SessionFactoryImplementor factory) Generate an info message string relating to a particular entity,.static String
MessageHelper.infoString
(@Nullable EntityPersister persister, Object[] ids, SessionFactoryImplementor factory) Generate an info message string relating to a series of entities. -
Uses of EntityPersister in org.hibernate.procedure.internal
Methods in org.hibernate.procedure.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionprotected void
ProcedureCallImpl.addSynchronizedQuerySpaces
(EntityPersister persister) -
Uses of EntityPersister in org.hibernate.processor.validation
Classes in org.hibernate.processor.validation that implement EntityPersisterModifier and TypeClassDescriptionclass
static class
Methods in org.hibernate.processor.validation that return EntityPersisterModifier and TypeMethodDescriptionMockCollectionPersister.getElementPersister()
MockEntityPersister.getEntityPersister()
MockCollectionPersister.getOwnerEntityPersister()
-
Uses of EntityPersister in org.hibernate.query.derived
Methods in org.hibernate.query.derived that return EntityPersister -
Uses of EntityPersister in org.hibernate.query.sql.internal
Methods in org.hibernate.query.sql.internal that return EntityPersisterModifier and TypeMethodDescriptionResultSetMappingProcessor.getEntityPersister
(String alias) SQLQueryParser.ParserContext.getEntityPersister
(String alias) -
Uses of EntityPersister in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal that return EntityPersisterModifier and TypeMethodDescriptionstatic EntityPersister
SqmMappingModelHelper.resolveEntityPersister
(EntityDomainType<?> entityType, SessionFactoryImplementor sessionFactory) Resolve a JPA EntityType descriptor to it's corresponding EntityPersister in the Hibernate mapping type systemMethods in org.hibernate.query.sqm.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionprotected boolean
QuerySqmImpl.hasIdentifierAssigned
(SqmInsertStatement<?> sqmInsert, EntityPersister entityDescriptor) protected boolean
QuerySqmImpl.isSimpleValuesInsert
(SqmInsertStatement<?> sqmInsert, EntityPersister entityDescriptor) -
Uses of EntityPersister in org.hibernate.query.sqm.mutation.internal.cte
Methods in org.hibernate.query.sqm.mutation.internal.cte that return EntityPersisterModifier and TypeMethodDescriptionprotected EntityPersister
CteInsertStrategy.getRootDescriptor()
protected EntityPersister
CteMutationStrategy.getRootDescriptor()
Constructors in org.hibernate.query.sqm.mutation.internal.cte with parameters of type EntityPersisterModifierConstructorDescriptionCteInsertStrategy
(EntityPersister rootDescriptor, RuntimeModelCreationContext runtimeModelCreationContext) CteMutationStrategy
(EntityPersister rootDescriptor, RuntimeModelCreationContext runtimeModelCreationContext) -
Uses of EntityPersister in org.hibernate.query.sqm.mutation.internal.temptable
Methods in org.hibernate.query.sqm.mutation.internal.temptable with parameters of type EntityPersisterModifier and TypeMethodDescriptionstatic QuerySpec
ExecuteWithoutIdTableHelper.createIdMatchingSubQuerySpec
(NavigablePath navigablePath, TableReference rootTableReference, Predicate predicate, EntityPersister rootEntityPersister, SqlExpressionResolver sqlExpressionResolver, SessionFactoryImplementor sessionFactory) -
Uses of EntityPersister in org.hibernate.query.sqm.sql
Methods in org.hibernate.query.sqm.sql with parameters of type EntityPersisterModifier and TypeMethodDescriptionBaseSqmToSqlAstConverter.visitInsertionTargetPaths
(BiConsumer<Assignable, List<ColumnReference>> targetColumnReferenceConsumer, SqmInsertStatement<?> sqmStatement, EntityPersister entityDescriptor, TableGroup rootTableGroup) -
Uses of EntityPersister in org.hibernate.sql.ast.tree.cte
Methods in org.hibernate.sql.ast.tree.cte with parameters of type EntityPersisterModifier and TypeMethodDescriptionstatic int
CteTable.determineModelPartStartIndex
(EntityPersister entityDescriptor, ModelPart modelPart) -
Uses of EntityPersister in org.hibernate.sql.ast.tree.expression
Methods in org.hibernate.sql.ast.tree.expression that return EntityPersisterConstructors in org.hibernate.sql.ast.tree.expression with parameters of type EntityPersister -
Uses of EntityPersister in org.hibernate.sql.results.graph.entity
Methods in org.hibernate.sql.results.graph.entity that return EntityPersisterModifier and TypeMethodDescriptionEntityInitializer.getConcreteDescriptor
(Data data) default EntityPersister
EntityInitializer.getConcreteDescriptor
(RowProcessingState rowProcessingState) EntityInitializer.getEntityDescriptor()
Get the descriptor for the type of entity being initialized -
Uses of EntityPersister in org.hibernate.sql.results.graph.entity.internal
Fields in org.hibernate.sql.results.graph.entity.internal declared as EntityPersisterModifier and TypeFieldDescriptionprotected EntityPersister
DiscriminatedEntityInitializer.DiscriminatedEntityInitializerData.concreteDescriptor
protected @Nullable EntityPersister
EntityInitializerImpl.EntityInitializerData.concreteDescriptor
protected final EntityPersister
EntitySelectFetchInitializer.concreteDescriptor
protected final @Nullable EntityPersister
EntityInitializerImpl.EntityInitializerData.defaultConcreteDescriptor
Methods in org.hibernate.sql.results.graph.entity.internal that return EntityPersisterModifier and TypeMethodDescriptionstatic @Nullable EntityPersister
EntityInitializerImpl.determineConcreteEntityDescriptor
(RowProcessingState rowProcessingState, @Nullable BasicResultAssembler<?> discriminatorAssembler, EntityPersister entityDescriptor) DiscriminatedEntityInitializer.getConcreteDescriptor
(DiscriminatedEntityInitializer.DiscriminatedEntityInitializerData data) EntityDelayedFetchInitializer.getConcreteDescriptor
(EntityDelayedFetchInitializer.EntityDelayedFetchInitializerData data) EntityInitializerImpl.getConcreteDescriptor
(EntityInitializerImpl.EntityInitializerData data) EntitySelectFetchInitializer.getConcreteDescriptor
(Data data) DiscriminatedEntityInitializer.getEntityDescriptor()
EntityDelayedFetchInitializer.getEntityDescriptor()
EntityInitializerImpl.getEntityDescriptor()
EntitySelectFetchInitializer.getEntityDescriptor()
Methods in org.hibernate.sql.results.graph.entity.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionstatic EntityInitializer<?>
EntitySelectFetchInitializerBuilder.createInitializer
(InitializerParent<?> parent, ToOneAttributeMapping fetchedAttribute, EntityPersister entityPersister, DomainResult<?> keyResult, NavigablePath navigablePath, boolean selectByUniqueKey, boolean affectedByFilter, AssemblerCreationState creationState) static @Nullable EntityPersister
EntityInitializerImpl.determineConcreteEntityDescriptor
(RowProcessingState rowProcessingState, @Nullable BasicResultAssembler<?> discriminatorAssembler, EntityPersister entityDescriptor) protected void
BatchEntityInsideEmbeddableSelectFetchInitializer.initializeAttributeType
(Type[] attributeTypes, EntityPersister entityDescriptor, String attributeName) protected void
EntityInitializerImpl.initializeAttributeType
(Type[] attributeTypes, EntityPersister entityDescriptor, String attributeName) Constructors in org.hibernate.sql.results.graph.entity.internal with parameters of type EntityPersisterModifierConstructorDescriptionAbstractBatchEntitySelectFetchInitializer
(InitializerParent<?> parent, ToOneAttributeMapping toOneMapping, NavigablePath fetchedNavigable, EntityPersister concreteDescriptor, DomainResult<?> keyResult, boolean affectedByFilter, AssemblerCreationState creationState) BatchEntityInsideEmbeddableSelectFetchInitializer
(InitializerParent<?> parentAccess, ToOneAttributeMapping referencedModelPart, NavigablePath fetchedNavigable, EntityPersister concreteDescriptor, DomainResult<?> keyResult, boolean affectedByFilter, AssemblerCreationState creationState) BatchEntitySelectFetchInitializer
(InitializerParent<?> parentAccess, ToOneAttributeMapping referencedModelPart, NavigablePath fetchedNavigable, EntityPersister concreteDescriptor, DomainResult<?> keyResult, boolean affectedByFilter, AssemblerCreationState creationState) BatchInitializeEntitySelectFetchInitializer
(InitializerParent<?> parent, ToOneAttributeMapping referencedModelPart, NavigablePath fetchedNavigable, EntityPersister concreteDescriptor, DomainResult<?> keyResult, boolean affectedByFilter, AssemblerCreationState creationState) EntitySelectFetchByUniqueKeyInitializer
(InitializerParent<?> parent, ToOneAttributeMapping fetchedAttribute, NavigablePath fetchedNavigable, EntityPersister concreteDescriptor, DomainResult<?> keyResult, boolean affectedByFilter, AssemblerCreationState creationState) EntitySelectFetchInitializer
(InitializerParent<?> parent, ToOneAttributeMapping toOneMapping, NavigablePath fetchedNavigable, EntityPersister concreteDescriptor, DomainResult<?> keyResult, boolean affectedByFilter, AssemblerCreationState creationState) -
Uses of EntityPersister in org.hibernate.sql.results.internal.domain
Methods in org.hibernate.sql.results.internal.domain with parameters of type EntityPersisterModifier and TypeMethodDescriptionprotected EntityInitializer<?>
CircularFetchImpl.buildEntitySelectFetchInitializer
(InitializerParent<?> parent, ToOneAttributeMapping fetchable, EntityPersister entityPersister, DomainResult<?> keyResult, NavigablePath navigablePath, boolean selectByUniqueKey, AssemblerCreationState creationState) -
Uses of EntityPersister in org.hibernate.stat.internal
Methods in org.hibernate.stat.internal with parameters of type EntityPersisterModifier and TypeMethodDescriptionstatic NavigableRole
StatsHelper.getRootEntityRole
(EntityPersister entityDescriptor) -
Uses of EntityPersister in org.hibernate.tuple
Methods in org.hibernate.tuple with parameters of type EntityPersisterModifier and TypeMethodDescriptionstatic NonIdentifierAttribute
PropertyFactory.buildEntityBasedAttribute
(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable, RuntimeModelCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version.Generate a non-identifier (and non-version) attribute based on the given mapped property from the given entitystatic VersionProperty
PropertyFactory.buildVersionProperty
(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable) Deprecated, for removal: This API element is subject to removal in a future version.Generates a VersionProperty representation for an entity mapping given its version mapping Property. -
Uses of EntityPersister in org.hibernate.tuple.component
Methods in org.hibernate.tuple.component that return EntityPersisterModifier and TypeMethodDescriptionprotected abstract EntityPersister
AbstractCompositionAttribute.locateOwningPersister()
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of EntityPersister in org.hibernate.tuple.entity
Methods in org.hibernate.tuple.entity that return EntityPersisterModifier and TypeMethodDescriptionAbstractEntityBasedAttribute.getSource()
Deprecated, for removal: This API element is subject to removal in a future version.protected EntityPersister
EntityBasedCompositionAttribute.locateOwningPersister()
Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.hibernate.tuple.entity with parameters of type EntityPersisterModifierConstructorDescriptionprotected
AbstractEntityBasedAttribute
(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation) Deprecated, for removal: This API element is subject to removal in a future version.EntityBasedAssociationAttribute
(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo) Deprecated, for removal: This API element is subject to removal in a future version.EntityBasedBasicAttribute
(EntityPersister source, SessionFactoryImplementor factory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation baselineInfo) Deprecated, for removal: This API element is subject to removal in a future version.EntityBasedCompositionAttribute
(EntityPersister source, SessionFactoryImplementor factory, int attributeNumber, String attributeName, CompositeType attributeType, BaselineAttributeInformation baselineInfo) Deprecated, for removal: This API element is subject to removal in a future version.EntityMetamodel
(PersistentClass persistentClass, EntityPersister persister, RuntimeModelCreationContext creationContext) Deprecated, for removal: This API element is subject to removal in a future version.EntityMetamodel
(PersistentClass persistentClass, EntityPersister persister, RuntimeModelCreationContext creationContext, Function<String, Generator> generatorSupplier) Deprecated, for removal: This API element is subject to removal in a future version.VersionProperty
(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation) Deprecated, for removal: This API element is subject to removal in a future version.Constructs VersionProperty instances. -
Uses of EntityPersister in org.hibernate.type
Methods in org.hibernate.type that return EntityPersisterModifier and TypeMethodDescriptionEntityType.getAssociatedEntityPersister
(SessionFactoryImplementor factory) Methods in org.hibernate.type with parameters of type EntityPersisterModifier and TypeMethodDescriptionstatic void
TypeHelper.replace
(EntityPersister persister, Object entity, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache) Apply theType.replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map<java.lang.Object, java.lang.Object>)
operation across a series of values.