Uses of Interface
org.hibernate.persister.entity.EntityPersister
-
-
Uses of EntityPersister in org.hibernate
Methods in org.hibernate that return EntityPersister Modifier and Type Method Description EntityPersister
CustomEntityDirtinessStrategy.AttributeInformation. getContainingPersister()
Get a reference to the persister for the entity containing this attribute.Methods in org.hibernate with parameters of type EntityPersister Modifier and Type Method Description boolean
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 EntityPersister Modifier and Type Method Description EntityPersister
EntityAction. getPersister()
entity persister accessorMethods in org.hibernate.action.internal with parameters of type EntityPersister Modifier and Type Method Description protected boolean
EntityInsertAction. cacheInsert(EntityPersister persister, Object ck)
protected boolean
EntityUpdateAction. cacheUpdate(EntityPersister persister, Object previousVersion, Object ck)
protected boolean
EntityInsertAction. isCachePutEnabled(EntityPersister persister, SharedSessionContractImplementor session)
static void
BulkOperationCleanupAction. schedule(SharedSessionContractImplementor session, EntityPersister... affectedQueryables)
Constructors in org.hibernate.action.internal with parameters of type EntityPersister Constructor Description AbstractEntityInsertAction(Object id, Object[] state, Object instance, boolean isVersionIncrementDisabled, EntityPersister persister, SharedSessionContractImplementor session)
Constructs an AbstractEntityInsertAction object.BulkOperationCleanupAction(SharedSessionContractImplementor session, EntityPersister... affectedQueryables)
Constructs an action to cleanup "affected cache regions" based on the affected entity persisters.EntityAction(SharedSessionContractImplementor session, Object id, Object instance, EntityPersister persister)
Instantiate an action.EntityDeleteAction(Object id, Object[] state, Object version, Object instance, EntityPersister persister, boolean isCascadeDeleteEnabled, SessionImplementor session)
Constructs an EntityDeleteAction.EntityIdentityInsertAction(Object[] state, Object instance, EntityPersister persister, boolean isVersionIncrementDisabled, SharedSessionContractImplementor session, boolean isDelayed)
Constructs an EntityIdentityInsertActionEntityInsertAction(Object id, Object[] state, Object instance, Object version, EntityPersister persister, boolean isVersionIncrementDisabled, SharedSessionContractImplementor 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, SharedSessionContractImplementor session)
Constructs an EntityUpdateActionOrphanRemovalAction(Object id, Object[] state, Object version, Object instance, EntityPersister persister, boolean isCascadeDeleteEnabled, SessionImplementor session)
-
Uses of EntityPersister in org.hibernate.boot.internal
Methods in org.hibernate.boot.internal with parameters of type EntityPersister Modifier and Type Method Description boolean
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 EntityPersister Modifier and Type Method Description Object
DefaultCacheKeysFactory. createEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)
Object
SimpleCacheKeysFactory. createEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)
Object
DefaultCacheKeysFactory. createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
Object
SimpleCacheKeysFactory. createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
protected void
EnabledCaching. evictEntityData(EntityPersister entityDescriptor)
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)
Constructors in org.hibernate.cache.internal with parameters of type EntityPersister Constructor Description NaturalIdCacheKey(Object naturalIdValues, EntityPersister persister, String entityName, SharedSessionContractImplementor session)
NaturalIdCacheKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
-
Uses of EntityPersister in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi with parameters of type EntityPersister Modifier and Type Method Description Object
CacheKeysFactory. createEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)
Object
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 EntityPersister Modifier and Type Method Description Object
EntityDataAccess. 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.Object
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 EntityPersister Modifier and Type Method Description EntityPersister
ReferenceCacheEntryImpl. getSubclassPersister()
Methods in org.hibernate.cache.spi.entry with parameters of type EntityPersister Modifier and Type Method Description Object[]
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 EntityPersister Constructor Description ReferenceCacheEntryImpl(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 EntityPersister Modifier and Type Method Description Object
AbstractEntityDataAccess. generateCacheKey(Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, String tenantIdentifier)
Object
AbstractNaturalIdDataAccess. generateCacheKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
Object
EntityReadWriteAccess. generateCacheKey(Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, String tenantIdentifier)
Object
NaturalIdReadWriteAccess. generateCacheKey(Object naturalIdValues, EntityPersister rootEntityDescriptor, SharedSessionContractImplementor session)
-
Uses of EntityPersister in org.hibernate.cfg.beanvalidation
Constructors in org.hibernate.cfg.beanvalidation with parameters of type EntityPersister Constructor Description HibernateTraversableResolver(EntityPersister persister, ConcurrentHashMap<EntityPersister,Set<String>> associationsPerEntityPersister, SessionFactoryImplementor factory)
Constructor parameters in org.hibernate.cfg.beanvalidation with type arguments of type EntityPersister Constructor Description HibernateTraversableResolver(EntityPersister persister, ConcurrentHashMap<EntityPersister,Set<String>> associationsPerEntityPersister, SessionFactoryImplementor factory)
-
Uses of EntityPersister in org.hibernate.engine.internal
Fields in org.hibernate.engine.internal declared as EntityPersister Modifier and Type Field Description protected EntityPersister
AbstractEntityEntry. persister
Methods in org.hibernate.engine.internal that return EntityPersister Modifier and Type Method Description 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 EntityPersister Modifier and Type Method Description EntityEntry
StatefulPersistenceContext. addEntity(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement)
EntityEntry
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)
EntityEntry
ImmutableEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)
EntityEntry
MutableEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)
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 rowObject
StatefulPersistenceContext. getNaturalIdSnapshot(Object id, EntityPersister persister)
static Object
Versioning. getVersion(Object[] fields, EntityPersister persister)
Extract the optimistic locking value out of the entity state snapshot.protected EntityPersister
NaturalIdResolutionsImpl. locatePersisterForKey(EntityPersister persister)
It is only valid to define natural ids at the root of an entity hierarchy.Object
StatefulPersistenceContext. narrowProxy(Object proxy, EntityPersister persister, EntityKey key, Object object)
Object
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 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 EntityPersister Constructor Description AbstractEntityEntry(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 EntityPersister Modifier and Type Method Description EntityPersister
Association. getOwner()
Constructors in org.hibernate.engine.profile with parameters of type EntityPersister Constructor Description Association(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 EntityPersister Modifier and Type Method Description EntityPersister
SessionDelegatorBaseImpl. getEntityPersister(String entityName, Object object)
EntityPersister
SharedSessionContractImplementor. getEntityPersister(String entityName, Object object)
Get theEntityPersister
for any instanceEntityPersister
EntityEntry. getPersister()
EntityPersister
EntityKey. getPersister()
Methods in org.hibernate.engine.spi with parameters of type EntityPersister Modifier and Type Method Description EntityEntry
PersistenceContext. 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.EntityEntry
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.EntityEntry
EntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)
CreatesEntityEntry
.EntityKey
SessionDelegatorBaseImpl. generateEntityKey(Object id, EntityPersister persister)
EntityKey
SharedSessionContractImplementor. generateEntityKey(Object id, EntityPersister persister)
Hide the changing requirements of entity key creationObject[]
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 rowObject
PersistenceContext. 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.Object
SessionDelegatorBaseImpl. instantiate(EntityPersister persister, Object id)
Object
SessionImplementor. instantiate(EntityPersister persister, Object id)
Object
SharedSessionContractImplementor. instantiate(EntityPersister persister, Object id)
Instantiate the entity class of an EntityPersister, initializing with the given identifier.Object
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.void
CascadingAction. noCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex)
Called (in the case ofCascadingAction.requiresNoCascadeChecking()
returning true) to validate that no cascade on the given property is considered a valid semantic.void
CascadingActions.BaseCascadingAction. noCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex)
Object
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 EntityPersister Constructor Description EntityKey(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 EntityPersister Modifier and Type Method Description protected 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 EntityPersister Constructor Description AddWorkUnit(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 EntityPersister Modifier and Type Method Description protected EntityPersister
DefaultLoadEventListener. getPersister(LoadEvent event)
Methods in org.hibernate.event.internal with parameters of type EntityPersister Modifier and Type Method Description protected 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, EntityEntry entityEntry, 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, SessionImplementor session)
make sure user didn't mangle the idprotected 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 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, boolean cascadeDeleteEnabled, 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
DefaultSaveOrUpdateEventListener. getUpdateId(Object entity, EntityPersister persister, Object requestedId, SessionImplementor session)
Determine the id to use for updating.protected Object
DefaultUpdateEventListener. getUpdateId(Object entity, EntityPersister persister, Object requestedId, SessionImplementor session)
If the user specified an id, assign it to the instance and use that, otherwise use the id already assigned to the instanceprotected boolean
DefaultDeleteEventListener. invokeDeleteLifecycle(EventSource session, Object entity, EntityPersister persister)
protected boolean
DefaultFlushEntityEventListener. invokeInterceptor(SessionImplementor session, Object entity, EntityEntry entry, Object[] values, EntityPersister persister)
protected boolean
AbstractSaveEventListener. invokeSaveLifecycle(Object entity, EntityPersister persister, EventSource source)
protected boolean
DefaultSaveOrUpdateEventListener. invokeUpdateLifecycle(Object entity, EntityPersister persister, EventSource source)
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 requiresImmediateIdAccess)
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 requiresImmediateIdAccess)
Performs all the actual work needed to save an entity (well to get the save moved to the execution queue).protected void
DefaultSaveOrUpdateEventListener. performUpdate(SaveOrUpdateEvent event, Object entity, EntityPersister persister)
void
AbstractVisitor. process(Object object, EntityPersister persister)
Walk the tree starting from the given entity.void
WrapVisitor. process(Object object, EntityPersister persister)
protected EntityEntry
AbstractReassociateEventListener. 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)
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)
-
Uses of EntityPersister in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return EntityPersister Modifier and Type Method Description EntityPersister
ResolveNaturalIdEvent. getEntityPersister()
EntityPersister
AbstractPreDatabaseOperationEvent. getPersister()
The persister for the entity.EntityPersister
PostDeleteEvent. getPersister()
EntityPersister
PostInsertEvent. getPersister()
EntityPersister
PostLoadEvent. getPersister()
EntityPersister
PostUpdateEvent. getPersister()
EntityPersister
PreLoadEvent. getPersister()
Methods in org.hibernate.event.spi with parameters of type EntityPersister Modifier and Type Method Description Object
EventSource. instantiate(EntityPersister persister, Object id)
Instantiate an entity instance, using either an interceptor, or the given persisterPostLoadEvent
PostLoadEvent. setPersister(EntityPersister persister)
PreLoadEvent
PreLoadEvent. setPersister(EntityPersister persister)
Constructors in org.hibernate.event.spi with parameters of type EntityPersister Constructor Description AbstractPreDatabaseOperationEvent(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)
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.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.id
Subinterfaces of EntityPersister in org.hibernate.id Modifier and Type Interface Description interface
PostInsertIdentityPersister
A persister that may have an identity assigned by execution of a SQLINSERT
. -
Uses of EntityPersister in org.hibernate.internal
Methods in org.hibernate.internal that return EntityPersister Modifier and Type Method Description EntityPersister
SessionImpl. getEntityPersister(String entityName, Object object)
EntityPersister
StatelessSessionImpl. getEntityPersister(String entityName, Object object)
Methods in org.hibernate.internal with parameters of type EntityPersister Modifier and Type Method Description EntityKey
AbstractSharedSessionContract. generateEntityKey(Object id, EntityPersister persister)
Object
SessionImpl. instantiate(EntityPersister persister, Object id)
give the interceptor an opportunity to override the default instantiationObject
StatelessSessionImpl. instantiate(EntityPersister persister, Object id)
Constructors in org.hibernate.internal with parameters of type EntityPersister Constructor Description NaturalIdMultiLoadAccessStandard(EntityPersister entityDescriptor, SessionImpl session)
-
Uses of EntityPersister in org.hibernate.loader.access
Methods in org.hibernate.loader.access that return EntityPersister Modifier and Type Method Description protected EntityPersister
BaseNaturalIdLoadAccessImpl. entityPersister()
Constructors in org.hibernate.loader.access with parameters of type EntityPersister Constructor Description IdentifierLoadAccessImpl(LoadAccessContext context, EntityPersister entityPersister)
-
Uses of EntityPersister in org.hibernate.loader.ast.internal
Constructors in org.hibernate.loader.ast.internal with parameters of type EntityPersister Constructor Description MultiIdLoaderStandard(EntityPersister entityDescriptor, PersistentClass bootDescriptor, SessionFactoryImplementor sessionFactory)
-
Uses of EntityPersister in org.hibernate.loader.entity
Methods in org.hibernate.loader.entity with parameters of type EntityPersister Modifier and Type Method Description Object
CacheEntityLoaderHelper. loadFromSecondLevelCache(EventSource source, Object entity, LockMode lockMode, EntityPersister persister, EntityKey entityKey)
Attempts to load the entity from the second-level cache.Object
CacheEntityLoaderHelper. loadFromSecondLevelCache(LoadEvent event, EntityPersister persister, EntityKey entityKey)
Attempts to load the entity from the second-level cache. -
Uses of EntityPersister in org.hibernate.mapping
Methods in org.hibernate.mapping that return types with arguments of type EntityPersister Modifier and Type Method Description abstract Class<? extends EntityPersister>
PersistentClass. getEntityPersisterClass()
Class<? extends EntityPersister>
RootClass. getEntityPersisterClass()
Class<? extends EntityPersister>
Subclass. getEntityPersisterClass()
Method parameters in org.hibernate.mapping with type arguments of type EntityPersister Modifier and Type Method Description abstract void
PersistentClass. setEntityPersisterClass(Class<? extends EntityPersister> classPersisterClass)
void
RootClass. setEntityPersisterClass(Class<? extends EntityPersister> persister)
void
Subclass. setEntityPersisterClass(Class<? extends EntityPersister> classPersisterClass)
-
Uses of EntityPersister in org.hibernate.metamodel
Methods in org.hibernate.metamodel that return EntityPersister Modifier and Type Method Description EntityPersister
MappingMetamodel. findEntityDescriptor(Class<?> entityJavaType)
Find an entity mapping descriptor based on its Class.EntityPersister
MappingMetamodel. findEntityDescriptor(String entityName)
Find an entity mapping descriptor based on its Hibernate entity-name.EntityPersister
MappingMetamodel. getEntityDescriptor(Class<?> entityJavaType)
Get an entity mapping descriptor based on its Class.EntityPersister
MappingMetamodel. getEntityDescriptor(String entityName)
Get an entity mapping descriptor based on its Hibernate entity-nameEntityPersister
MappingMetamodel. getEntityDescriptor(NavigableRole name)
Get an entity mapping descriptor based on its NavigableRole.EntityPersister
MappingMetamodel. locateEntityDescriptor(Class<?> byClass)
Locate an entity mapping descriptor by Class.default EntityPersister
MappingMetamodel. locateEntityPersister(Class<?> byClass)
Deprecated.useMappingMetamodel.locateEntityDescriptor(Class)
insteadEntityPersister
MappingMetamodel. locateEntityPersister(String byName)
Deprecated.- useMappingMetamodel.getEntityDescriptor(String)
insteadEntityPersister
MappingMetamodel. resolveEntityDescriptor(EntityDomainType<?> entityDomainType)
Given a JPA entity domain type, get the associated Hibernate entity descriptorMethods in org.hibernate.metamodel that return types with arguments of type EntityPersister Modifier and Type Method Description Stream<EntityPersister>
MappingMetamodel. streamEntityDescriptors()
Methods in org.hibernate.metamodel with parameters of type EntityPersister Modifier and Type Method Description RootGraph<?>
MappingMetamodel. defaultGraph(EntityPersister entityDescriptor)
List<RootGraph<?>>
MappingMetamodel. findRootGraphsForType(EntityPersister baseEntityDescriptor)
Method parameters in org.hibernate.metamodel with type arguments of type EntityPersister Modifier and Type Method Description void
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 that return EntityPersister Modifier and Type Method Description EntityPersister
InflightRuntimeMetamodel. findEntityDescriptor(String entityName)
Find an entity mapping descriptor based on its Hibernate entity-name.EntityPersister
InflightRuntimeMetamodel. getEntityDescriptor(String entityName)
Get an entity mapping descriptor based on its Hibernate entity-nameMethods in org.hibernate.metamodel.internal that return types with arguments of type EntityPersister Modifier and Type Method Description Map<String,EntityPersister>
InflightRuntimeMetamodel. getEntityPersisterMap()
Methods in org.hibernate.metamodel.internal with parameters of type EntityPersister Modifier and Type Method Description EntityRepresentationStrategy
ManagedTypeRepresentationResolverStandard. resolveStrategy(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext)
Constructors in org.hibernate.metamodel.internal with parameters of type EntityPersister Constructor Description EntityRepresentationStrategyPojoStandard(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext)
-
Uses of EntityPersister in org.hibernate.metamodel.mapping
Methods in org.hibernate.metamodel.mapping that return EntityPersister Modifier and Type Method Description EntityPersister
EntityMappingType. getEntityPersister()
Safety-net. -
Uses of EntityPersister in org.hibernate.metamodel.mapping.internal
Methods in org.hibernate.metamodel.mapping.internal that return EntityPersister Modifier and Type Method Description EntityPersister
AbstractDiscriminatorMapping. getEntityDescriptor()
EntityPersister
MappingModelCreationProcess. getEntityPersister(String name)
EntityPersister
NonAggregatedIdentifierMappingImpl. getIdentifiedEntityDescriptor()
The entity whose identifier this mapping is the inverse ofMethods in org.hibernate.metamodel.mapping.internal with parameters of type EntityPersister Modifier and Type Method Description static 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, Property bootProperty, ManagedMappingType declaringType, EntityPersister declaringEntityPersister, EntityType attrType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, MappingModelCreationProcess creationProcess)
Method parameters in org.hibernate.metamodel.mapping.internal with type arguments of type EntityPersister Modifier and Type Method Description static void
MappingModelCreationProcess. process(Map<String,EntityPersister> entityPersisterMap, SqmFunctionRegistry functionRegistry, RuntimeModelCreationContext creationContext)
Triggers creation of the mapping modelConstructors in org.hibernate.metamodel.mapping.internal with parameters of type EntityPersister Constructor Description AbstractDiscriminatorMapping(EntityPersister entityDescriptor, DiscriminatorType<?> discriminatorType, MappingModelCreationProcess creationProcess)
BasicEntityIdentifierMappingImpl(EntityPersister entityPersister, Supplier<?> instanceCreator, String attributeName, String rootTable, String pkColumnName, String columnDefinition, Long length, Integer precision, Integer scale, BasicType<?> idType, MappingModelCreationProcess creationProcess)
ExplicitColumnDiscriminatorMappingImpl(EntityPersister entityDescriptor, DiscriminatorType<?> discriminatorType, String tableExpression, String columnExpression, boolean isFormula, boolean isPhysical, String columnDefinition, Long length, Integer precision, Integer scale, MappingModelCreationProcess creationProcess)
NonAggregatedIdentifierMappingImpl(EntityPersister entityPersister, RootClass bootEntityDescriptor, String rootTableName, String[] rootTableKeyColumnNames, MappingModelCreationProcess creationProcess)
ToOneAttributeMapping(String name, NavigableRole navigableRole, int stateArrayPosition, ToOne bootValue, AttributeMetadataAccess attributeMetadataAccess, FetchTiming mappedFetchTiming, FetchStyle mappedFetchStyle, EntityMappingType entityMappingType, ManagedMappingType declaringType, EntityPersister declaringEntityPersister, PropertyAccess propertyAccess)
ToOneAttributeMapping(String name, NavigableRole navigableRole, int stateArrayPosition, ToOne bootValue, AttributeMetadataAccess attributeMetadataAccess, 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 EntityPersister Modifier and Type Method Description EntityPersister
MappingMetamodelImpl. entityPersister(Class<?> entityClass)
EntityPersister
MappingMetamodelImpl. entityPersister(String entityName)
EntityPersister
MappingMetamodelImpl. findEntityDescriptor(Class<?> entityJavaType)
EntityPersister
MappingMetamodelImpl. findEntityDescriptor(String entityName)
EntityPersister
MappingMetamodelImpl. getEntityDescriptor(Class<?> entityJavaType)
EntityPersister
MappingMetamodelImpl. getEntityDescriptor(String entityName)
EntityPersister
MappingMetamodelImpl. getEntityDescriptor(NavigableRole name)
EntityPersister
MappingMetamodelImpl. locateEntityDescriptor(Class<?> byClass)
EntityPersister
MappingMetamodelImpl. locateEntityPersister(String byName)
EntityPersister
MappingMetamodelImpl. resolveEntityDescriptor(EntityDomainType<?> entityDomainType)
Methods in org.hibernate.metamodel.model.domain.internal that return types with arguments of type EntityPersister Modifier and Type Method Description Map<String,EntityPersister>
MappingMetamodelImpl. entityPersisters()
Stream<EntityPersister>
MappingMetamodelImpl. streamEntityDescriptors()
Methods in org.hibernate.metamodel.model.domain.internal with parameters of type EntityPersister Modifier and Type Method Description RootGraph<?>
MappingMetamodelImpl. defaultGraph(EntityPersister entityDescriptor)
List<RootGraph<?>>
MappingMetamodelImpl. findRootGraphsForType(EntityPersister baseEntityDescriptor)
Method parameters in org.hibernate.metamodel.model.domain.internal with type arguments of type EntityPersister Modifier and Type Method Description void
MappingMetamodelImpl. forEachEntityDescriptor(Consumer<EntityPersister> action)
-
Uses of EntityPersister in org.hibernate.metamodel.spi
Methods in org.hibernate.metamodel.spi that return EntityPersister Modifier and Type Method Description default EntityPersister
MetamodelImplementor. entityPersister(Class<?> entityClass)
Deprecated.default EntityPersister
MetamodelImplementor. entityPersister(String entityName)
Deprecated.Methods in org.hibernate.metamodel.spi that return types with arguments of type EntityPersister Modifier and Type Method Description Map<String,EntityPersister>
MetamodelImplementor. entityPersisters()
Deprecated.With no direct replacement; seeMappingMetamodel.forEachEntityDescriptor(java.util.function.Consumer<org.hibernate.persister.entity.EntityPersister>)
andMappingMetamodel.streamEntityDescriptors()
insteadMethods in org.hibernate.metamodel.spi with parameters of type EntityPersister Modifier and Type Method Description EntityRepresentationStrategy
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 EntityPersister Modifier and Type Method Description EntityPersister
AbstractCollectionPersister. getElementPersister()
EntityPersister
QueryableCollection. getElementPersister()
Get the persister of the element class, if this is a collection of entities (optional operation).protected EntityPersister
AbstractCollectionPersister. getElementPersisterInternal()
EntityPersister
AbstractCollectionPersister. getOwnerEntityPersister()
EntityPersister
CollectionPersister. getOwnerEntityPersister()
Get the persister of the entity that "owns" this collection -
Uses of EntityPersister in org.hibernate.persister.entity
Subinterfaces of EntityPersister in org.hibernate.persister.entity Modifier and Type Interface Description interface
Loadable
Implemented by anyEntityPersister
that may be loaded using aLoader
.interface
Lockable
Contract for things that can be locked via aLockingStrategy
.interface
OuterJoinLoadable
AEntityPersister
that may be loaded by outer join using and may be an element of a one-to-many association.interface
Queryable
Deprecated.SeeQueryable
interface
SQLLoadable
AnEntityPersister
that supports queries expressed in the platform native SQL dialect.interface
UniqueKeyLoadable
AnEntityPersister
that can be loaded by a non-primary unique key.Classes in org.hibernate.persister.entity that implement EntityPersister Modifier and Type Class Description class
AbstractEntityPersister
Basic functionality for persisting an entity via JDBC through either generated or custom SQLclass
JoinedSubclassEntityPersister
AnEntityPersister
implementing the normalizedInheritanceType.JOINED
inheritance mapping strategy for an entity and its inheritance hierarchy.class
SingleTableEntityPersister
The default implementation of theEntityPersister
interface.class
UnionSubclassEntityPersister
AnEntityPersister
implementing theInheritanceType.TABLE_PER_CLASS
mapping strategy for an entity and its inheritance hierarchy.Methods in org.hibernate.persister.entity that return EntityPersister Modifier and Type Method Description EntityPersister
AbstractEntityPersister. getEntityPersister()
EntityPersister
AbstractEntityPersister. getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory)
EntityPersister
EntityPersister. getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory)
A request has already identified the entity-name of this persister as the mapping for the given instance. -
Uses of EntityPersister in org.hibernate.persister.internal
Methods in org.hibernate.persister.internal that return EntityPersister Modifier and Type Method Description EntityPersister
PersisterFactoryImpl. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext creationContext)
EntityPersister
PersisterFactoryImpl. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext creationContext)
Methods in org.hibernate.persister.internal that return types with arguments of type EntityPersister Modifier and Type Method Description Class<? 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 EntityPersister Modifier and Type Method Description default EntityPersister
PersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext creationContext)
Create an entity persister instance.EntityPersister
PersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext creationContext)
Methods in org.hibernate.persister.spi that return types with arguments of type EntityPersister Modifier and Type Method Description Class<? 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 EntityPersister Modifier and Type Method Description static String
MessageHelper. infoString(EntityPersister persister)
Generate an info message string relating to given entity persister.static String
MessageHelper. infoString(EntityPersister persister, Object[] ids, SessionFactoryImplementor factory)
Generate an info message string relating to a series of entities.static String
MessageHelper. infoString(EntityPersister persister, Object id, SessionFactoryImplementor factory)
Generate an info message string relating to a particular entity.static String
MessageHelper. infoString(EntityPersister persister, Object id, Type identifierType, SessionFactoryImplementor factory)
Generate an info message string relating to a particular entity,. -
Uses of EntityPersister in org.hibernate.procedure.internal
Methods in org.hibernate.procedure.internal with parameters of type EntityPersister Modifier and Type Method Description protected void
ProcedureCallImpl. addSynchronizedQuerySpaces(EntityPersister persister)
-
Uses of EntityPersister in org.hibernate.query.derived
Methods in org.hibernate.query.derived that return EntityPersister Modifier and Type Method Description EntityPersister
AnonymousTupleEntityValuedModelPart. getEntityPersister()
-
Uses of EntityPersister in org.hibernate.query.sqm.internal
Methods in org.hibernate.query.sqm.internal that return EntityPersister Modifier and Type Method Description static EntityPersister
SqmMappingModelHelper. resolveEntityPersister(EntityDomainType<?> entityType, SessionFactoryImplementor sessionFactory)
Resolve a JPA EntityType descriptor to it's corresponding EntityPersister in the Hibernate mapping type system -
Uses of EntityPersister in org.hibernate.query.sqm.mutation.internal
Methods in org.hibernate.query.sqm.mutation.internal with parameters of type EntityPersister Modifier and Type Method Description BaseSqmToSqlAstConverter.AdditionalInsertValues
MultiTableSqmMutationConverter. visitInsertionTargetPaths(BiConsumer<Assignable,List<ColumnReference>> targetColumnReferenceConsumer, SqmInsertStatement<?> sqmStatement, EntityPersister entityDescriptor, TableGroup tableGroup, MultiTableSqmMutationConverter.SqmParameterResolutionConsumer parameterResolutionConsumer)
Specialized hook to visit the assignments defined by the update SQM allow "listening" for each SQL assignment. -
Uses of EntityPersister in org.hibernate.query.sqm.mutation.internal.cte
Constructors in org.hibernate.query.sqm.mutation.internal.cte with parameters of type EntityPersister Constructor Description CteInsertStrategy(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 EntityPersister Modifier and Type Method Description static 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 EntityPersister Modifier and Type Method Description BaseSqmToSqlAstConverter.AdditionalInsertValues
BaseSqmToSqlAstConverter. visitInsertionTargetPaths(BiConsumer<Assignable,List<ColumnReference>> targetColumnReferenceConsumer, SqmInsertStatement<?> sqmStatement, EntityPersister entityDescriptor, TableGroup rootTableGroup)
-
Uses of EntityPersister in org.hibernate.sql.ast.tree.expression
Methods in org.hibernate.sql.ast.tree.expression that return EntityPersister Modifier and Type Method Description EntityPersister
EntityTypeLiteral. getEntityTypeDescriptor()
Constructors in org.hibernate.sql.ast.tree.expression with parameters of type EntityPersister Constructor Description EntityTypeLiteral(EntityPersister entityTypeDescriptor)
-
Uses of EntityPersister in org.hibernate.sql.results.graph.entity
Methods in org.hibernate.sql.results.graph.entity that return EntityPersister Modifier and Type Method Description EntityPersister
AbstractEntityInitializer. getConcreteDescriptor()
EntityPersister
EntityInitializer. getConcreteDescriptor()
EntityPersister
LoadingEntityEntry. getDescriptor()
EntityPersister
AbstractEntityInitializer. getEntityDescriptor()
EntityPersister
EntityInitializer. getEntityDescriptor()
Get the descriptor for the type of entity being initializedConstructors in org.hibernate.sql.results.graph.entity with parameters of type EntityPersister Constructor Description LoadingEntityEntry(EntityInitializer entityInitializer, EntityKey entityKey, EntityPersister descriptor, Object entityInstance)
-
Uses of EntityPersister in org.hibernate.sql.results.graph.entity.internal
Fields in org.hibernate.sql.results.graph.entity.internal declared as EntityPersister Modifier and Type Field Description protected EntityPersister
AbstractBatchEntitySelectFetchInitializer. concreteDescriptor
protected EntityPersister
EntitySelectFetchInitializer. concreteDescriptor
Methods in org.hibernate.sql.results.graph.entity.internal that return EntityPersister Modifier and Type Method Description EntityPersister
AbstractBatchEntitySelectFetchInitializer. getConcreteDescriptor()
EntityPersister
EntityDelayedFetchInitializer. getConcreteDescriptor()
EntityPersister
EntitySelectFetchInitializer. getConcreteDescriptor()
EntityPersister
AbstractBatchEntitySelectFetchInitializer. getEntityDescriptor()
EntityPersister
EntityDelayedFetchInitializer. getEntityDescriptor()
EntityPersister
EntitySelectFetchInitializer. getEntityDescriptor()
-
Uses of EntityPersister in org.hibernate.stat.internal
Methods in org.hibernate.stat.internal with parameters of type EntityPersister Modifier and Type Method Description NavigableRole
StatsHelper. getRootEntityRole(EntityPersister entityDescriptor)
-
Uses of EntityPersister in org.hibernate.tuple
Methods in org.hibernate.tuple with parameters of type EntityPersister Modifier and Type Method Description static NonIdentifierAttribute
PropertyFactory. buildEntityBasedAttribute(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable, RuntimeModelCreationContext creationContext)
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)
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 EntityPersister Modifier and Type Method Description protected abstract EntityPersister
AbstractCompositionAttribute. locateOwningPersister()
-
Uses of EntityPersister in org.hibernate.tuple.entity
Methods in org.hibernate.tuple.entity that return EntityPersister Modifier and Type Method Description EntityPersister
AbstractEntityBasedAttribute. getSource()
protected EntityPersister
EntityBasedCompositionAttribute. locateOwningPersister()
-
Uses of EntityPersister in org.hibernate.type
Methods in org.hibernate.type that return EntityPersister Modifier and Type Method Description EntityPersister
EntityType. getAssociatedEntityPersister(SessionFactoryImplementor factory)
Methods in org.hibernate.type with parameters of type EntityPersister Modifier and Type Method Description static 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.
-