Uses of Interface
org.hibernate.persister.entity.EntityPersister
-
Packages that use EntityPersister Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory, which represents an instance of Hibernate at runtime and is the source of new instances ofSessionandStatelessSession, the most important APIs exposing persistence-related operations for entities.org.hibernate.action.internal The various concrete action implementations.org.hibernate.boot.beanvalidation Support for integrating Jakarta Bean Validation.org.hibernate.boot.internal org.hibernate.cache.internal Internal implementations and support for second-level caching.org.hibernate.cache.spi Defines the integration aspect of Hibernate's second-level caching, allowing a "caching backend" to be plugged in as a cache provider.org.hibernate.cache.spi.access Defines contracts for transactional and concurrent access to cached entity and collection data.org.hibernate.cache.spi.entry This package defines formats for disassembled state kept in the second level cache.org.hibernate.cache.spi.support This package provides a framework intended to reduce the work needed to implement a caching provider.org.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.profile Models the fetch profiles defined by the application.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.envers.event.spi org.hibernate.envers.internal.synchronization.work org.hibernate.event.internal This package defines a default set of event listeners that implement the default behaviors of Hibernate session operations.org.hibernate.event.spi Defines the event types and event listener interfaces for events produced by the statefulSession.org.hibernate.generator This package defines an abstraction over all kinds of automatic value generation, including id generation and version number generation.org.hibernate.generator.internal org.hibernate.id This package and its subpackages, especiallyorg.hibernate.id.enhanced, contain the built-in id generators, all of which implement eitherIdentifierGeneratororPostInsertIdentifierGenerator.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate.org.hibernate.jpamodelgen.validation Validation for HQL queries.org.hibernate.loader.ast.internal org.hibernate.loader.internal org.hibernate.mapping This package defines the Hibernate configuration-time mapping model.org.hibernate.metamodel This package defines an API for accessing the runtime metamodel describing persistent entities in Java and their mappings to the relational database schema.org.hibernate.metamodel.internal org.hibernate.metamodel.mapping Defines the runtime mapping metamodel, which describes the mapping of the application's domain model parts (entities, attributes) to relational database objects (tables, columns).org.hibernate.metamodel.mapping.internal org.hibernate.metamodel.model.domain.internal Implementation of the SPI for the runtime domain metamodel.org.hibernate.metamodel.spi An SPI supporting custom instantiation of entity instances and embeddable objects.org.hibernate.persister.collection This package abstracts persistence mechanisms for collections.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.persister.internal Built-in implementation of the SPI for integrating entity and collection persisters.org.hibernate.persister.spi An SPI for integrating custom entity and collection persisters.org.hibernate.pretty Contains some functions for pretty-printing things for exception and log messages.org.hibernate.procedure.internal Defines the internal implementation of the stored procedure SPI.org.hibernate.query.derived org.hibernate.query.sqm.internal Package for the SQM-backed Query implementation detailsorg.hibernate.query.sqm.mutation.internal.cte org.hibernate.query.sqm.mutation.internal.temptable Support for multi-table SQM mutation (insert, update, delete) operations using a table to temporarily hold the matching ids.org.hibernate.query.sqm.sql Package for the translation of SQM into SQL ASTorg.hibernate.sql.ast.tree.cte Support for common table expressions (CTE) in a SQL tree.org.hibernate.sql.ast.tree.expression AST nodes representing expressions in a SQL tree.org.hibernate.sql.results.graph.entity org.hibernate.sql.results.graph.entity.internal org.hibernate.sql.results.internal.domain org.hibernate.stat.internal The built-in implementation of the statistics collection service.org.hibernate.tuple Most contracts here have been replaced by the new runtime mapping model.org.hibernate.tuple.component org.hibernate.tuple.entity org.hibernate.type A HibernateTypeis 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 EntityPersister Modifier and Type Method Description EntityPersisterCustomEntityDirtinessStrategy.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 booleanCustomEntityDirtinessStrategy. canDirtyCheck(Object entity, EntityPersister persister, Session session)Is this strategy capable of telling whether the given entity is dirty? A return oftruemeans 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.voidCustomEntityDirtinessStrategy. findDirty(Object entity, EntityPersister persister, Session session, CustomEntityDirtinessStrategy.DirtyCheckContext dirtyCheckContext)Callback used to hook into Hibernate algorithm for determination of which attributes have changed.booleanCustomEntityDirtinessStrategy. isDirty(Object entity, EntityPersister persister, Session session)The callback used by Hibernate to determine if the given entity is dirty.voidCustomEntityDirtinessStrategy. 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 EntityPersisterEntityAction. getPersister()entity persister accessorMethods in org.hibernate.action.internal with parameters of type EntityPersister Modifier and Type Method Description protected booleanEntityInsertAction. cacheInsert(EntityPersister persister, Object ck)protected voidEntityUpdateAction. handleNaturalIdResolutions(EntityPersister persister, SharedSessionContractImplementor session, Object id)protected booleanEntityInsertAction. isCachePutEnabled(EntityPersister persister, SharedSessionContractImplementor session)protected voidEntityDeleteAction. postDeleteLoaded(Object id, EntityPersister persister, SharedSessionContractImplementor session, Object instance, Object ck)protected voidEntityDeleteAction. postDeleteUnloaded(Object id, EntityPersister persister, SharedSessionContractImplementor session, Object ck)static voidBulkOperationCleanupAction. schedule(SharedSessionContractImplementor session, EntityPersister... affectedQueryables)protected booleanEntityUpdateAction. updateCache(EntityPersister persister, Object previousVersion, Object ck)Constructors in org.hibernate.action.internal with parameters of type EntityPersister Constructor Description 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.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 EntityPersister Constructor Description HibernateTraversableResolver(EntityPersister persister, ConcurrentHashMap<EntityPersister,Set<String>> associationsPerEntityPersister, SessionFactoryImplementor factory)Constructor parameters in org.hibernate.boot.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.boot.internal
Methods in org.hibernate.boot.internal with parameters of type EntityPersister Modifier and Type Method Description booleanDefaultCustomEntityDirtinessStrategy. canDirtyCheck(Object entity, EntityPersister persister, Session session)voidDefaultCustomEntityDirtinessStrategy. findDirty(Object entity, EntityPersister persister, Session session, CustomEntityDirtinessStrategy.DirtyCheckContext dirtyCheckContext)booleanDefaultCustomEntityDirtinessStrategy. isDirty(Object entity, EntityPersister persister, Session session)voidDefaultCustomEntityDirtinessStrategy. 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 ObjectDefaultCacheKeysFactory. createEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)ObjectSimpleCacheKeysFactory. createEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)ObjectDefaultCacheKeysFactory. createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)ObjectSimpleCacheKeysFactory. createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)protected voidEnabledCaching. evictEntityData(EntityPersister entityDescriptor)static NaturalIdCacheKeyNaturalIdCacheKey. from(Object naturalIdValues, EntityPersister persister, String entityName, SharedSessionContractImplementor session)static NaturalIdCacheKeyNaturalIdCacheKey. from(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)booleanCollectionCacheInvalidator. requiresPostCommitHandling(EntityPersister persister)static ObjectDefaultCacheKeysFactory. staticCreateEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)static ObjectDefaultCacheKeysFactory. 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 EntityPersister Modifier and Type Method Description ObjectCacheKeysFactory. createEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)ObjectCacheKeysFactory. 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 ObjectEntityDataAccess. 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.ObjectNaturalIdDataAccess. 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 EntityPersisterReferenceCacheEntryImpl. 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 ObjectAbstractEntityDataAccess. generateCacheKey(Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, String tenantIdentifier)ObjectAbstractNaturalIdDataAccess. generateCacheKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)ObjectEntityReadWriteAccess. generateCacheKey(Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, String tenantIdentifier)ObjectNaturalIdReadWriteAccess. generateCacheKey(Object naturalIdValues, EntityPersister rootEntityDescriptor, SharedSessionContractImplementor session) -
Uses of EntityPersister in org.hibernate.engine.internal
Fields in org.hibernate.engine.internal declared as EntityPersister Modifier and Type Field Description protected EntityPersisterAbstractEntityEntry. persisterMethods in org.hibernate.engine.internal that return EntityPersister Modifier and Type Method Description EntityPersisterAbstractEntityEntry. getPersister()protected EntityPersisterNaturalIdResolutionsImpl. 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 EntityEntryStatefulPersistenceContext. addEntity(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement)EntityEntryStatefulPersistenceContext. addEntry(Object entity, Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement)static voidTwoPhaseLoad. addUninitializedCachedEntity(EntityKey key, Object object, EntityPersister persister, LockMode lockMode, Object version, SharedSessionContractImplementor session)static <T> voidCascade. 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> voidCascade. 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.voidNullability. checkNullability(Object[] values, EntityPersister persister, boolean isUpdate)Check nullability of the class persister propertiesvoidNullability. checkNullability(Object[] values, EntityPersister persister, Nullability.NullabilityCheckType checkType)EntityEntryImmutableEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)EntityEntryMutableEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)static ObjectCacheHelper. fromSharedCache(SharedSessionContractImplementor session, Object cacheKey, EntityPersister persister, boolean isNaturalKey, CachedDomainDataAccess cacheAccess)static ObjectCacheHelper. 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 rowObjectStatefulPersistenceContext. getNaturalIdSnapshot(Object id, EntityPersister persister)static ObjectVersioning. getVersion(Object[] fields, EntityPersister persister)Extract the optimistic locking value out of the entity state snapshot.static ObjectVersioning. incrementVersion(Object entity, Object currentVersion, EntityPersister persister, SharedSessionContractImplementor session)Generate the next increment in the optimistic locking value according theGeneratorcontract for the version property.protected EntityPersisterNaturalIdResolutionsImpl. locatePersisterForKey(EntityPersister persister)It is only valid to define natural ids at the root of an entity hierarchy.ObjectStatefulPersistenceContext. narrowProxy(Object proxy, EntityPersister persister, EntityKey key, Object object)ObjectStatefulPersistenceContext. proxyFor(EntityHolder holder, EntityPersister persister)ObjectStatefulPersistenceContext. proxyFor(EntityPersister persister, EntityKey key, Object impl)voidStatefulPersistenceContext. registerInsertedKey(EntityPersister persister, Object id)static voidBatchFetchQueueHelper. removeBatchLoadableEntityKey(Object id, EntityPersister persister, SharedSessionContractImplementor session)Remove the entity key with the specifiedidandpersisterfrom the batch loadable entitiesBatchFetchQueue.static voidBatchFetchQueueHelper. 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.booleanNaturalIdResolutionsImpl. 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 booleanVersioning. seedVersion(Object entity, Object[] fields, EntityPersister persister, SharedSessionContractImplementor session)Create an initial optimistic locking value using the for the version property if required using theGeneratorcontract and inject it into the snapshot state.static voidVersioning. setVersion(Object[] fields, Object version, EntityPersister persister)Inject the optimistic locking value into the entity state snapshot.voidNaturalIdResolutionsImpl. 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.booleanStatefulPersistenceContext. 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 EntityPersisterAssociation. getOwner()The persister of the owning entity.Methods in org.hibernate.engine.profile with parameters of type EntityPersister Modifier and Type Method Description booleanDefaultFetchProfile. hasSubselectLoadableCollectionsEnabled(EntityPersister persister)booleanFetchProfile. hasSubselectLoadableCollectionsEnabled(EntityPersister persister)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 EntityPersisterEntityHolder. getDescriptor()EntityPersisterSessionDelegatorBaseImpl. getEntityPersister(@Nullable String entityName, Object object)EntityPersisterSharedSessionContractImplementor. getEntityPersister(@Nullable String entityName, Object object)Get theEntityPersisterfor the given entity instance.EntityPersisterSharedSessionDelegatorBaseImpl. getEntityPersister(@Nullable String entityName, Object object)EntityPersisterEntityEntry. getPersister()EntityPersisterEntityKey. getPersister()Methods in org.hibernate.engine.spi with parameters of type EntityPersister Modifier and Type Method Description EntityEntryPersistenceContext. 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.EntityEntryPersistenceContext. 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.EntityEntryEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)CreatesEntityEntry.intLoadQueryInfluencers. effectiveBatchSize(EntityPersister persister)booleanLoadQueryInfluencers. effectivelyBatchLoadable(EntityPersister persister)EntityKeySessionDelegatorBaseImpl. generateEntityKey(Object id, EntityPersister persister)EntityKeySharedSessionContractImplementor. generateEntityKey(Object id, EntityPersister persister)Instantiate anEntityKeywith the given id and for the entity represented by the givenEntityPersister.EntityKeySharedSessionDelegatorBaseImpl. 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 rowObjectPersistenceContext. 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.booleanLoadQueryInfluencers. hasSubselectLoadableCollections(EntityPersister persister)ObjectSessionDelegatorBaseImpl. instantiate(EntityPersister persister, Object id)ObjectSessionImplementor. instantiate(EntityPersister persister, Object id)ObjectSharedSessionContractImplementor. instantiate(EntityPersister persister, Object id)Instantiate the entity class of the givenEntityPersister, initializing the new instance with the given identifier.ObjectSharedSessionDelegatorBaseImpl. instantiate(EntityPersister persister, Object id)ObjectPersistenceContext. 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.voidCascadingAction. 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.voidCascadingActions.BaseCascadingAction. noCascade(EventSource session, Object parent, EntityPersister persister, Type propertyType, int propertyIndex)ObjectPersistenceContext. proxyFor(EntityHolder holder, EntityPersister persister)ObjectPersistenceContext. 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.voidPersistenceContext. registerInsertedKey(EntityPersister persister, Object id)Register keys inserted during the current transactionbooleanPersistenceContext. 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(@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 EntityPersister Modifier and Type Method Description protected voidBaseEnversEventListener. generateBidirectionalCollectionChangeWorkUnits(AuditProcess auditProcess, EntityPersister entityPersister, String entityName, Object[] newState, Object[] oldState, SessionImplementor session)booleanEnversPostDeleteEventListenerImpl. requiresPostCommitHandling(EntityPersister persister)booleanEnversPostInsertEventListenerImpl. requiresPostCommitHandling(EntityPersister persister)booleanEnversPostUpdateEventListenerImpl. 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 EntityPersisterDefaultLoadEventListener. getPersister(LoadEvent event)Methods in org.hibernate.event.internal with parameters of type EntityPersister Modifier and Type Method Description protected voidDefaultDeleteEventListener. cascadeAfterDelete(EventSource session, EntityPersister persister, Object entity, DeleteContext transientEntities)protected voidAbstractSaveEventListener. cascadeAfterSave(EventSource source, EntityPersister persister, Object entity, C context)Handles calls needed to perform post-save cascades.protected voidDefaultMergeEventListener. cascadeAfterSave(EventSource source, EntityPersister persister, Object entity, MergeContext anything)Cascade behavior is redefined by this subclass, disable superclass behaviorprotected voidDefaultDeleteEventListener. cascadeBeforeDelete(EventSource session, EntityPersister persister, Object entity, DeleteContext transientEntities)protected voidAbstractSaveEventListener. cascadeBeforeSave(EventSource source, EntityPersister persister, Object entity, C context)Handles the calls needed to perform pre-save cascades for the given entity.protected voidDefaultMergeEventListener. cascadeBeforeSave(EventSource source, EntityPersister persister, Object entity, MergeContext anything)Cascade behavior is redefined by this subclass, disable superclass behaviorprotected voidDefaultMergeEventListener. cascadeOnMerge(EventSource source, EntityPersister persister, Object entity, MergeContext copyCache)Perform any cascades needed as part of this copy event.voidDefaultFlushEntityEventListener. checkId(Object object, EntityPersister persister, Object id, SessionImplementor session)make sure user didn't mangle the idvoidEmptyEventManager. completeCacheGetEvent(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, EntityPersister persister, boolean isNaturalKey, boolean hit)voidEmptyEventManager. completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, boolean isNatualId, EventManager.CacheActionDescription description)voidEmptyEventManager. completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description)voidEmptyEventManager. completeDirtyCalculationEvent(HibernateMonitoringEvent dirtyCalculationEvent, SharedSessionContractImplementor session, EntityPersister persister, EntityEntry entry, int[] dirtyProperties)protected voidDefaultMergeEventListener. copyValues(EntityPersister persister, Object entity, Object target, SessionImplementor source, MergeContext copyCache)protected voidDefaultMergeEventListener. copyValues(EntityPersister persister, Object entity, Object target, SessionImplementor source, MergeContext copyCache, ForeignKeyDirection foreignKeyDirection)protected voidDefaultDeleteEventListener. deleteEntity(EventSource session, Object entity, EntityEntry entityEntry, boolean isCascadeDeleteEnabled, boolean isOrphanRemovalBeforeUpdates, EntityPersister persister, DeleteContext transientEntities)Perform the entity deletion.protected voidDefaultDeleteEventListener. deleteTransientEntity(EventSource session, Object entity, EntityPersister persister, DeleteContext transientEntities)We encountered a delete request on a transient instance.protected voidDefaultEvictEventListener. doEvict(Object object, EntityKey key, EntityPersister persister, EventSource session)protected ObjectDefaultSaveOrUpdateEventListener. getUpdateId(Object entity, EntityPersister persister, Object requestedId, SessionImplementor session)Deprecated.Determine the id to use for updating.protected ObjectDefaultUpdateEventListener. getUpdateId(Object entity, EntityPersister persister, Object requestedId, SessionImplementor session)Deprecated.If the user specified an id, assign it to the instance and use that, otherwise use the id already assigned to the instanceprotected booleanDefaultDeleteEventListener. invokeDeleteLifecycle(EventSource session, Object entity, EntityPersister persister)protected booleanAbstractSaveEventListener. invokeSaveLifecycle(Object entity, EntityPersister persister, EventSource source)protected booleanDefaultSaveOrUpdateEventListener. invokeUpdateLifecycle(Object entity, EntityPersister persister, EventSource source)Deprecated.protected ObjectDefaultLoadEventListener. loadFromDatasource(LoadEvent event, EntityPersister persister)Performs the process of loading an entity from the configured underlying datasource.protected ObjectAbstractSaveEventListener. 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 ObjectAbstractSaveEventListener. 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).protected voidDefaultSaveOrUpdateEventListener. performUpdate(SaveOrUpdateEvent event, Object entity, EntityPersister persister)Deprecated.voidAbstractVisitor. process(Object object, EntityPersister persister)Walk the tree starting from the given entity.voidWrapVisitor. process(Object object, EntityPersister persister)protected EntityEntryAbstractReassociateEventListener. reassociate(AbstractEvent event, Object object, Object id, EntityPersister persister)Associates a given entity (either transient or associated with another session) to the given session.booleanPostDeleteEventListenerStandardImpl. requiresPostCommitHandling(EntityPersister persister)booleanPostInsertEventListenerStandardImpl. requiresPostCommitHandling(EntityPersister persister)booleanPostUpdateEventListenerStandardImpl. requiresPostCommitHandling(EntityPersister persister)protected booleanAbstractSaveEventListener. substituteValuesIfNecessary(Object entity, Object id, Object[] values, EntityPersister persister, SessionImplementor source)Perform any property value substitution that is necessary (interceptor callback, version initialization...)protected booleanDefaultReplicateEventListener. 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 EntityPersister Modifier and Type Method Description EntityPersisterResolveNaturalIdEvent. getEntityPersister()EntityPersisterAbstractPreDatabaseOperationEvent. getPersister()The persister for the entity.EntityPersisterPostDeleteEvent. getPersister()EntityPersisterPostInsertEvent. getPersister()EntityPersisterPostLoadEvent. getPersister()EntityPersisterPostUpdateEvent. getPersister()EntityPersisterPreLoadEvent. getPersister()Methods in org.hibernate.event.spi with parameters of type EntityPersister Modifier and Type Method Description voidEventManager. completeCacheGetEvent(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, EntityPersister persister, boolean isNaturalKey, boolean hit)voidEventManager. completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, boolean isNatualId, EventManager.CacheActionDescription description)voidEventManager. completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description)voidEventManager. completeDirtyCalculationEvent(HibernateMonitoringEvent dirtyCalculationEvent, SharedSessionContractImplementor session, EntityPersister persister, EntityEntry entry, int[] dirtyProperties)ObjectEventSource. instantiate(EntityPersister persister, Object id)Instantiate an entity instance, using either an interceptor, or the given persisterPostLoadEventPostLoadEvent. setPersister(EntityPersister persister)PreLoadEventPreLoadEvent. 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.generator
Methods in org.hibernate.generator with parameters of type EntityPersister Modifier and Type Method Description default String[]OnExecutionGenerator. getUniqueKeyPropertyNames(EntityPersister persister)The name of a property of the entity which may be used to locate the just-inserted row containing the generated value. -
Uses of EntityPersister in org.hibernate.generator.internal
Methods in org.hibernate.generator.internal with parameters of type EntityPersister Modifier and Type Method Description static String[]NaturalIdHelper. getNaturalIdPropertyNames(EntityPersister persister) -
Uses of EntityPersister in org.hibernate.id
Subinterfaces of EntityPersister in org.hibernate.id Modifier and Type Interface Description interfacePostInsertIdentityPersisterA persister that may have an identity assigned by execution of a SQLINSERT.Methods in org.hibernate.id with parameters of type EntityPersister Modifier and Type Method Description String[]SelectGenerator. getUniqueKeyPropertyNames(EntityPersister persister) -
Uses of EntityPersister in org.hibernate.internal
Methods in org.hibernate.internal that return EntityPersister Modifier and Type Method Description EntityPersisterSessionImpl. getEntityPersister(String entityName, Object object)EntityPersisterStatelessSessionImpl. getEntityPersister(String entityName, Object object)Methods in org.hibernate.internal with parameters of type EntityPersister Modifier and Type Method Description EntityKeyAbstractSharedSessionContract. generateEntityKey(Object id, EntityPersister persister)ObjectSessionImpl. instantiate(EntityPersister persister, Object id)give the interceptor an opportunity to override the default instantiationObjectStatelessSessionImpl. 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.jpamodelgen.validation
Classes in org.hibernate.jpamodelgen.validation that implement EntityPersister Modifier and Type Class Description classMockEntityPersisterstatic classProcessorSessionFactory.EntityPersisterMethods in org.hibernate.jpamodelgen.validation that return EntityPersister Modifier and Type Method Description EntityPersisterMockCollectionPersister. getElementPersister()EntityPersisterMockEntityPersister. getEntityPersister()EntityPersisterMockCollectionPersister. getOwnerEntityPersister() -
Uses of EntityPersister in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal with parameters of type EntityPersister Modifier and Type Method Description ObjectCacheEntityLoaderHelper. loadFromSecondLevelCache(EventSource source, Object entity, LockMode lockMode, EntityPersister persister, EntityKey entityKey)Attempts to load the entity from the second-level cache.ObjectCacheEntityLoaderHelper. 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 EntityPersister Constructor Description MultiIdEntityLoaderStandard(EntityPersister entityDescriptor, int idColumnSpan, SessionFactoryImplementor sessionFactory) -
Uses of EntityPersister in org.hibernate.loader.internal
Methods in org.hibernate.loader.internal that return EntityPersister Modifier and Type Method Description protected EntityPersisterBaseNaturalIdLoadAccessImpl. entityPersister()Constructors in org.hibernate.loader.internal with parameters of type EntityPersister Constructor Description IdentifierLoadAccessImpl(LoadAccessContext context, EntityPersister entityPersister) -
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 voidPersistentClass. setEntityPersisterClass(Class<? extends EntityPersister> classPersisterClass)voidRootClass. setEntityPersisterClass(Class<? extends EntityPersister> persister)voidSubclass. 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 EntityPersisterMappingMetamodel. findEntityDescriptor(Class<?> entityJavaType)Find an entity mapping descriptor based on its Class.EntityPersisterMappingMetamodel. findEntityDescriptor(String entityName)Find an entity mapping descriptor based on its Hibernate entity-name.EntityPersisterMappingMetamodel. getEntityDescriptor(Class<?> entityJavaType)Get an entity mapping descriptor based on its Class.EntityPersisterMappingMetamodel. getEntityDescriptor(String entityName)Get an entity mapping descriptor based on its Hibernate entity-nameEntityPersisterMappingMetamodel. getEntityDescriptor(NavigableRole name)Get an entity mapping descriptor based on its NavigableRole.EntityPersisterMappingMetamodel. locateEntityDescriptor(Class<?> byClass)Locate an entity mapping descriptor by Class.default EntityPersisterMappingMetamodel. locateEntityPersister(Class<?> byClass)Deprecated.useMappingMetamodel.locateEntityDescriptor(Class)insteadEntityPersisterMappingMetamodel. locateEntityPersister(String byName)Deprecated.- useMappingMetamodel.getEntityDescriptor(String)insteadMethods 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 voidMappingMetamodel. 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 EntityPersister Modifier and Type Method Description EntityRepresentationStrategyManagedTypeRepresentationResolverStandard. 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 EntityPersisterEntityMappingType. 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 EntityPersisterMappingModelCreationProcess. getEntityPersister(String name)Methods in org.hibernate.metamodel.mapping.internal with parameters of type EntityPersister Modifier and Type Method Description static EntityIdentifierMappingMappingModelCreationHelper. buildEncapsulatedCompositeIdentifierMapping(EntityPersister entityPersister, Property bootProperty, String attributeName, String rootTableName, String[] rootTableKeyColumnNames, CompositeType cidType, MappingModelCreationProcess creationProcess)static CompositeIdentifierMappingMappingModelCreationHelper. buildNonEncapsulatedCompositeIdentifierMapping(EntityPersister entityPersister, String rootTableName, String[] rootTableKeyColumnNames, PersistentClass bootEntityDescriptor, MappingModelCreationProcess creationProcess)static ToOneAttributeMappingMappingModelCreationHelper. 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 ToOneAttributeMappingMappingModelCreationHelper. 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 EntityPersister Constructor Description BasicEntityIdentifierMappingImpl(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)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 EntityPersister Modifier and Type Method Description EntityPersisterMappingMetamodelImpl. entityPersister(Class<?> entityClass)EntityPersisterMappingMetamodelImpl. entityPersister(String entityName)EntityPersisterMappingMetamodelImpl. findEntityDescriptor(Class<?> entityJavaType)EntityPersisterMappingMetamodelImpl. findEntityDescriptor(String entityName)EntityPersisterEntityPersisterConcurrentMap. get(String name)EntityPersisterMappingMetamodelImpl. getEntityDescriptor(Class<?> entityJavaType)EntityPersisterMappingMetamodelImpl. getEntityDescriptor(String entityName)EntityPersisterMappingMetamodelImpl. getEntityDescriptor(NavigableRole name)EntityPersisterMappingMetamodelImpl. locateEntityDescriptor(Class<?> byClass)EntityPersisterMappingMetamodelImpl. locateEntityPersister(String byName)EntityPersister[]EntityPersisterConcurrentMap. values()Methods in org.hibernate.metamodel.model.domain.internal that return types with arguments of type EntityPersister Modifier and Type Method Description Map<String,EntityPersister>EntityPersisterConcurrentMap. 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.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)voidEntityPersisterConcurrentMap. put(String name, EntityPersister entityPersister)voidEntityPersisterConcurrentMap. putIfAbsent(String name, EntityPersister entityPersister)Method parameters in org.hibernate.metamodel.model.domain.internal with type arguments of type EntityPersister Modifier and Type Method Description voidMappingMetamodelImpl. 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 EntityPersisterMetamodelImplementor. entityPersister(Class<?> entityClass)Deprecated.default EntityPersisterMetamodelImplementor. 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 EntityRepresentationStrategyManagedTypeRepresentationResolver. 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 EntityPersisterAbstractCollectionPersister. getElementPersister()EntityPersisterQueryableCollection. getElementPersister()Deprecated, for removal: This API element is subject to removal in a future version.Get the persister of the element class, if this is a collection of entities (optional operation).protected EntityPersisterAbstractCollectionPersister. getElementPersisterInternal()EntityPersisterAbstractCollectionPersister. getOwnerEntityPersister()EntityPersisterCollectionPersister. 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 interfaceDeprecatedEntityStuffDeprecated.Just used to singly extend all the deprecated entity persister rolesinterfaceLoadableDeprecated, for removal: This API element is subject to removal in a future version.interfaceLockableDeprecated, for removal: This API element is subject to removal in a future version.interfaceOuterJoinLoadableDeprecated, for removal: This API element is subject to removal in a future version.interfaceQueryableDeprecated.UseEntityMappingTypeinsteadinterfaceSQLLoadableDeprecated, for removal: This API element is subject to removal in a future version.interfaceUniqueKeyLoadableClasses in org.hibernate.persister.entity that implement EntityPersister Modifier and Type Class Description classAbstractEntityPersisterBasic functionality for persisting an entity via JDBC, using either generated or custom SQL.classJoinedSubclassEntityPersisterAnEntityPersisterimplementing the normalizedInheritanceType.JOINEDinheritance mapping strategy for an entity and its inheritance hierarchy.classSingleTableEntityPersisterThe default implementation of theEntityPersisterinterface.classUnionSubclassEntityPersisterAnEntityPersisterimplementing theInheritanceType.TABLE_PER_CLASSmapping strategy for an entity and its inheritance hierarchy.Methods in org.hibernate.persister.entity that return EntityPersister Modifier and Type Method Description EntityPersisterAbstractEntityPersister. getEntityPersister()EntityPersisterAbstractEntityPersister. getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory)EntityPersisterEntityPersister. getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory)Obtain theEntityPersisterfor 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 EntityPersister Modifier and Type Method Description protected AttributeMappingAbstractEntityPersister. 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 Reactive -
Uses of EntityPersister in org.hibernate.persister.internal
Methods in org.hibernate.persister.internal that return EntityPersister Modifier and Type Method Description EntityPersisterPersisterFactoryImpl. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext creationContext)EntityPersisterPersisterFactoryImpl. 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 EntityPersisterPersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext creationContext)Create an entity persister instance.EntityPersisterPersisterFactory. 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 StringMessageHelper. infoString(@Nullable EntityPersister persister)Generate an info message string relating to given entity persister.static StringMessageHelper. infoString(@Nullable EntityPersister persister, @Nullable Object id, @Nullable SessionFactoryImplementor factory)Generate an info message string relating to a particular entity.static StringMessageHelper. infoString(@Nullable EntityPersister persister, @Nullable Object id, Type identifierType, SessionFactoryImplementor factory)Generate an info message string relating to a particular entity,.static StringMessageHelper. 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 EntityPersister Modifier and Type Method Description protected voidProcedureCallImpl. 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 EntityPersisterAnonymousTupleEntityValuedModelPart. 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 EntityPersisterSqmMappingModelHelper. 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 EntityPersister Modifier and Type Method Description protected booleanQuerySqmImpl. hasIdentifierAssigned(SqmInsertStatement<?> sqmInsert, EntityPersister entityDescriptor)protected booleanQuerySqmImpl. 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 EntityPersister Modifier and Type Method Description protected EntityPersisterCteInsertStrategy. getRootDescriptor()protected EntityPersisterCteMutationStrategy. getRootDescriptor()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 QuerySpecExecuteWithoutIdTableHelper. 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.AdditionalInsertValuesBaseSqmToSqlAstConverter. 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 EntityPersister Modifier and Type Method Description static intCteTable. 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 EntityPersister Modifier and Type Method Description EntityPersisterEntityTypeLiteral. 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 EntityPersisterAbstractEntityInitializer. getConcreteDescriptor()EntityPersisterEntityInitializer. getConcreteDescriptor()EntityPersisterLoadingEntityEntry. getDescriptor()Deprecated, for removal: This API element is subject to removal in a future version.EntityPersisterAbstractEntityInitializer. getEntityDescriptor()EntityPersisterEntityInitializer. 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)Deprecated, for removal: This API element is subject to removal in a future version. -
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 EntityPersisterAbstractBatchEntitySelectFetchInitializer. concreteDescriptorprotected EntityPersisterEntitySelectFetchInitializer. concreteDescriptorMethods in org.hibernate.sql.results.graph.entity.internal that return EntityPersister Modifier and Type Method Description EntityPersisterAbstractBatchEntitySelectFetchInitializer. getConcreteDescriptor()EntityPersisterEntityDelayedFetchInitializer. getConcreteDescriptor()EntityPersisterEntitySelectFetchInitializer. getConcreteDescriptor()EntityPersisterAbstractBatchEntitySelectFetchInitializer. getEntityDescriptor()EntityPersisterEntityDelayedFetchInitializer. getEntityDescriptor()EntityPersisterEntitySelectFetchInitializer. getEntityDescriptor()Methods in org.hibernate.sql.results.graph.entity.internal with parameters of type EntityPersister Modifier and Type Method Description protected InitializerEntityFetchSelectImpl. buildEntitySelectFetchInitializer(FetchParentAccess parentAccess, ToOneAttributeMapping fetchedMapping, EntityPersister entityPersister, DomainResult<?> keyResult, NavigablePath navigablePath, boolean selectByUniqueKey, AssemblerCreationState creationState)static AbstractFetchParentAccessEntitySelectFetchInitializerBuilder. createInitializer(FetchParentAccess parentAccess, ToOneAttributeMapping fetchedAttribute, EntityPersister entityPersister, DomainResult<?> keyResult, NavigablePath navigablePath, boolean selectByUniqueKey, AssemblerCreationState creationState) -
Uses of EntityPersister in org.hibernate.sql.results.internal.domain
Methods in org.hibernate.sql.results.internal.domain with parameters of type EntityPersister Modifier and Type Method Description protected InitializerCircularFetchImpl. buildEntitySelectFetchInitializer(FetchParentAccess parentAccess, 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 EntityPersister Modifier and Type Method Description NavigableRoleStatsHelper. 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 NonIdentifierAttributePropertyFactory. 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 VersionPropertyPropertyFactory. 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 EntityPersister Modifier and Type Method Description protected abstract EntityPersisterAbstractCompositionAttribute. 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 EntityPersister Modifier and Type Method Description EntityPersisterAbstractEntityBasedAttribute. getSource()Deprecated, for removal: This API element is subject to removal in a future version.protected EntityPersisterEntityBasedCompositionAttribute. 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 EntityPersister Constructor Description 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, PersisterCreationContext creationContext)Deprecated.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 EntityPersister Modifier and Type Method Description EntityPersisterEntityType. getAssociatedEntityPersister(SessionFactoryImplementor factory)Methods in org.hibernate.type with parameters of type EntityPersister Modifier and Type Method Description static voidTypeHelper. 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.
-