Uses of Interface
org.hibernate.persister.entity.EntityPersister
Packages that use EntityPersister
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session and StatelessSession,
the most important APIs exposing persistence-related operations for
entities.Support for integrating Jakarta Bean Validation.
Support for bytecode interceptor implementations.
Defines the integration aspect of Hibernate's second-level caching, allowing
a "caching backend" to be plugged in as a cache provider.
Defines contracts for transactional and concurrent access to cached
entity and
collection data.
This package defines formats for disassembled state kept in the second level cache.
This package provides a framework intended to reduce the work needed to implement
a caching provider.
This package abstracts over the multifarious dialects of SQL
understood by the databases supported by Hibernate.
Support for
Dialect-specific identity column handling.Support for
Dialect-specific locking strategies.Support for temporary tables.
Models the fetch profiles defined by the application.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
An SPI for services which collect, report, or monitor diagnostic events.
Defines the event types and event listener interfaces for
events produced by the stateful
Session.This package defines an abstraction over all kinds of automatic
value generation, including id generation and version number
generation.
Contains a framework of strategies for efficient retrieval of
database-generated values.
This package and its subpackages, especially
org.hibernate.id.enhanced,
contain the built-in id generators, all of which implement either
IdentifierGenerator or
PostInsertIdentifierGenerator.Contains a framework of strategies for retrieving database-generated ids.
This package defines an API for accessing the runtime metamodel describing persistent
entities in Java and their mappings to the relational database schema.
Defines the runtime mapping metamodel, which describes the mapping
of the application's domain model parts (entities, attributes) to
relational database objects (tables, columns).
An SPI supporting custom instantiation of
entity instances and
embeddable objects.
This package abstracts persistence mechanisms for collections.
This package abstracts persistence mechanisms for entities.
Defines support for performing mutation operations originating
from persistence-context events.
An SPI for integrating custom entity and collection persisters.
Extension point for customized state management,
enabling functionality such as soft delete, temporal
data, and audit logging.
Contains some functions for pretty-printing things for exception and log messages.
This package defines a framework for lazy-initializing entity proxies.
Package for the translation of SQM into SQL AST
AST nodes representing expressions in a SQL tree.
A Hibernate
Type is a strategy for mapping a Java
property type to a JDBC type or types.-
Uses of EntityPersister in org.hibernate
Methods in org.hibernate that return EntityPersisterModifier and TypeMethodDescriptionCustomEntityDirtinessStrategy.AttributeInformation.getContainingPersister()Get a reference to the persister for the entity containing this attribute.Methods in org.hibernate with parameters of type EntityPersisterModifier and TypeMethodDescriptionbooleanCustomEntityDirtinessStrategy.canDirtyCheck(Object entity, EntityPersister persister, Session session) Is this strategy capable of telling whether the given entity is dirty? A return oftruemeans thatCustomEntityDirtinessStrategy.isDirty(Object, EntityPersister, 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.boot.beanvalidation
Methods in org.hibernate.boot.beanvalidation with parameters of type EntityPersisterModifier and TypeMethodDescriptionvoidHibernateTraversableResolver.addPersister(EntityPersister persister, SessionFactoryImplementor factory) -
Uses of EntityPersister in org.hibernate.bytecode.enhance.spi.interceptor
Constructors in org.hibernate.bytecode.enhance.spi.interceptor with parameters of type EntityPersisterModifierConstructorDescriptionEntityRelatedState(EntityPersister persister, CompositeType nonAggregatedCidMapper, Set<String> identifierAttributeNames) -
Uses of EntityPersister in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptionCacheKeysFactory.createEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier) CacheKeysFactory.createNaturalIdKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) -
Uses of EntityPersister in org.hibernate.cache.spi.access
Methods in org.hibernate.cache.spi.access with parameters of type EntityPersisterModifier and TypeMethodDescriptionEntityDataAccess.generateCacheKey(Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, String tenantIdentifier) To create instances of keys for this region, Hibernate will invoke this method exclusively so that generated implementations can generate optimised keys.NaturalIdDataAccess.generateCacheKey(Object naturalIdValues, EntityPersister rootEntityDescriptor, SharedSessionContractImplementor session) To create instances of NaturalIdCacheKey for this region, Hibernate will invoke this method exclusively so that generated implementations can generate optimised keys. -
Uses of EntityPersister in org.hibernate.cache.spi.entry
Methods in org.hibernate.cache.spi.entry that return EntityPersisterMethods in org.hibernate.cache.spi.entry with parameters of type EntityPersisterModifier and TypeMethodDescriptionObject[]StandardCacheEntryImpl.assemble(Object instance, Object id, EntityPersister persister, Interceptor interceptor, SharedSessionContractImplementor session) Assemble the previously disassembled state represented by this entry into the given entity instance.static ObjectCacheEntryHelper.buildStructuredCacheEntry(Object entity, Object version, Object[] state, EntityPersister persister, SharedSessionContractImplementor session) Constructors in org.hibernate.cache.spi.entry with parameters of type EntityPersisterModifierConstructorDescriptionReferenceCacheEntryImpl(Object reference, EntityPersister subclassPersister) Constructs a ReferenceCacheEntryImplStandardCacheEntryImpl(Object[] state, EntityPersister persister, Object version, SharedSessionContractImplementor session, Object owner) Constructs a StandardCacheEntryImplStructuredCacheEntry(EntityPersister persister) Constructs a StructuredCacheEntry strategy -
Uses of EntityPersister in org.hibernate.cache.spi.support
Methods in org.hibernate.cache.spi.support with parameters of type EntityPersisterModifier and TypeMethodDescriptionAbstractEntityDataAccess.generateCacheKey(Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, String tenantIdentifier) AbstractNaturalIdDataAccess.generateCacheKey(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) EntityReadWriteAccess.generateCacheKey(Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, String tenantIdentifier) NaturalIdReadWriteAccess.generateCacheKey(Object naturalIdValues, EntityPersister rootEntityDescriptor, SharedSessionContractImplementor session) -
Uses of EntityPersister in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type EntityPersisterModifier and TypeMethodDescriptionprotected LockingStrategyDialect.buildOptimisticForceIncrementStrategy(EntityPersister lockable, LockMode lockMode) protected LockingStrategyDialect.buildOptimisticStrategy(EntityPersister lockable, LockMode lockMode) protected LockingStrategyDialect.buildPessimisticForceIncrementStrategy(EntityPersister lockable, LockMode lockMode, Locking.Scope lockScope) protected LockingStrategyDialect.buildPessimisticReadStrategy(EntityPersister lockable, LockMode lockMode, Locking.Scope lockScope) protected LockingStrategyDialect.buildPessimisticWriteStrategy(EntityPersister lockable, LockMode lockMode, Locking.Scope lockScope) protected LockingStrategyDialect.buildReadStrategy(EntityPersister lockable, LockMode lockMode, Locking.Scope lockScope) Dialect.getLockingStrategy(EntityPersister lockable, LockMode lockMode) Deprecated, for removal: This API element is subject to removal in a future version.Use Dialect.getLockingStrategy(EntityPersister, LockMode, Locking.Scope) instead.Dialect.getLockingStrategy(EntityPersister lockable, LockMode lockMode, Locking.Scope lockScope) ALockingStrategywhich is able to acquire a database-level lock with the specified level. -
Uses of EntityPersister in org.hibernate.dialect.identity
Methods in org.hibernate.dialect.identity with parameters of type EntityPersisterModifier and TypeMethodDescriptionIdentityColumnSupport.buildGetGeneratedKeysDelegate(EntityPersister persister) The delegate for dealing withIDENTITYcolumns usingStatement.getGeneratedKeys().IdentityColumnSupportImpl.buildGetGeneratedKeysDelegate(EntityPersister persister) Oracle12cIdentityColumnSupport.buildGetGeneratedKeysDelegate(EntityPersister persister) SybaseJconnIdentityColumnSupport.buildGetGeneratedKeysDelegate(EntityPersister persister) -
Uses of EntityPersister in org.hibernate.dialect.lock
Methods in org.hibernate.dialect.lock that return EntityPersisterModifier and TypeMethodDescriptionprotected EntityPersisterAbstractSelectLockingStrategy.getLockable()Constructors in org.hibernate.dialect.lock with parameters of type EntityPersisterModifierConstructorDescriptionAbstractPessimisticUpdateLockingStrategy(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL UPDATE statements.protectedAbstractSelectLockingStrategy(EntityPersister lockable, LockMode lockMode) OptimisticForceIncrementLockingStrategy(EntityPersister lockable, LockMode lockMode) Construct locking strategy.OptimisticLockingStrategy(EntityPersister lockable, LockMode lockMode) Construct locking strategy.PessimisticForceIncrementLockingStrategy(EntityPersister lockable, LockMode lockMode) Construct locking strategy.PessimisticReadSelectLockingStrategy(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL SELECT statements.PessimisticReadUpdateLockingStrategy(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL UPDATE statements.PessimisticWriteSelectLockingStrategy(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL SELECT statements.PessimisticWriteUpdateLockingStrategy(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL UPDATE statements.SelectLockingStrategy(EntityPersister lockable, LockMode lockMode) Construct a locking strategy based on SQL SELECT statements.UpdateLockingStrategy(EntityPersister lockable, LockMode lockMode) Deprecated, for removal: This API element is subject to removal in a future version.Construct a locking strategy based on SQL UPDATE statements. -
Uses of EntityPersister in org.hibernate.dialect.temptable
Methods in org.hibernate.dialect.temptable with parameters of type EntityPersisterModifier and TypeMethodDescriptionTemporaryTable.findTemporaryTableColumns(EntityPersister entityDescriptor, ModelPart modelPart) -
Uses of EntityPersister in org.hibernate.engine.profile
Methods in org.hibernate.engine.profile that return EntityPersisterMethods in org.hibernate.engine.profile with parameters of type EntityPersisterModifier and TypeMethodDescriptionbooleanDefaultFetchProfile.hasSubselectLoadableCollectionsEnabled(EntityPersister persister) booleanFetchProfile.hasSubselectLoadableCollectionsEnabled(EntityPersister persister) Constructors in org.hibernate.engine.profile with parameters of type EntityPersisterModifierConstructorDescriptionAssociation(EntityPersister owner, String associationPath) Constructs an association defining what is to be fetched. -
Uses of EntityPersister in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return EntityPersisterModifier and TypeMethodDescriptionEntityHolder.getDescriptor()SessionDelegatorBaseImpl.getEntityPersister(@Nullable String entityName, Object object) SharedSessionContractImplementor.getEntityPersister(@Nullable String entityName, Object object) Get theEntityPersisterfor the given entity instance.SharedSessionDelegatorBaseImpl.getEntityPersister(@Nullable String entityName, Object object) EntityEntry.getPersister()EntityKey.getPersister()Methods in org.hibernate.engine.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptionPersistenceContext.addEntity(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement) Adds an entity to the internal caches.PersistenceContext.addEntry(Object entity, Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement) Generates an appropriate EntityEntry instance and adds it to the event source's internal caches.booleanCascadingAction.anythingToCascade(EntityPersister persister) Does this action have any work to do for the entity type with the given persister?booleanCascadingActions.BaseCascadingAction.anythingToCascade(EntityPersister persister) EntityEntryFactory.createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext) Deprecated, for removal: This API element is subject to removal in a future version.CreatesEntityEntry.intLoadQueryInfluencers.effectiveBatchSize(EntityPersister persister) booleanLoadQueryInfluencers.effectivelyBatchLoadable(EntityPersister persister) SessionDelegatorBaseImpl.generateEntityKey(Object id, EntityPersister persister) SharedSessionContractImplementor.generateEntityKey(Object id, EntityPersister persister) Instantiate anEntityKeywith the given id and for the entity represented by the givenEntityPersister.SharedSessionDelegatorBaseImpl.generateEntityKey(Object id, EntityPersister persister) Object[]PersistenceContext.getDatabaseSnapshot(Object id, EntityPersister persister) Get the current state of the entity as known to the underlying database, ornullif there is no corresponding row.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.booleanLoadQueryInfluencers.hasSubselectLoadableCollections(EntityPersister persister) SessionDelegatorBaseImpl.instantiate(EntityPersister persister, Object id) SessionImplementor.instantiate(EntityPersister persister, Object id) SharedSessionContractImplementor.instantiate(EntityPersister persister, Object id) Instantiate the entity class of the givenEntityPersister, initializing the new instance with the given identifier.SharedSessionDelegatorBaseImpl.instantiate(EntityPersister persister, Object id) SessionDelegatorBaseImpl.loadFromSecondLevelCache(EntityPersister persister, EntityKey entityKey, Object instanceToLoad, LockMode lockMode) SharedSessionContractImplementor.loadFromSecondLevelCache(EntityPersister persister, EntityKey entityKey, Object instanceToLoad, LockMode lockMode) Attempts to load the entity from the second-level cache.SharedSessionDelegatorBaseImpl.loadFromSecondLevelCache(EntityPersister persister, EntityKey entityKey, Object instanceToLoad, LockMode lockMode) 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.PersistenceContext.proxyFor(EntityHolder holder, EntityPersister persister) PersistenceContext.proxyFor(EntityPersister persister, EntityKey key, Object impl) Return the existing proxy associated with the givenEntityKey, or the third argument (the entity associated with the key) if no proxy exists.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 EntityPersisterModifierConstructorDescriptionEntityKey(@Nullable Object id, EntityPersister persister) Construct a unique identifier for an entity class instance.TemporalEntityKey(@Nullable Object id, EntityPersister persister, Object changesetId) Construct a unique identifier for a temporal snapshot of an entity. -
Uses of EntityPersister in org.hibernate.envers.event.spi
Methods in org.hibernate.envers.event.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptionprotected final voidBaseEnversEventListener.generateBidirectionalCollectionChangeWorkUnits(org.hibernate.envers.internal.synchronization.AuditProcess auditProcess, EntityPersister entityPersister, String entityName, Object[] newState, Object[] oldState, SharedSessionContractImplementor session) booleanEnversPostDeleteEventListenerImpl.requiresPostCommitHandling(EntityPersister persister) booleanEnversPostInsertEventListenerImpl.requiresPostCommitHandling(EntityPersister persister) booleanEnversPostUpdateEventListenerImpl.requiresPostCommitHandling(EntityPersister persister) -
Uses of EntityPersister in org.hibernate.event.monitor.spi
Methods in org.hibernate.event.monitor.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptionvoidEventMonitor.completeCacheGetEvent(DiagnosticEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, EntityPersister persister, boolean isNaturalKey, boolean hit) voidEventMonitor.completeCachePutEvent(DiagnosticEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, boolean isNatualId, EventMonitor.CacheActionDescription description) voidEventMonitor.completeCachePutEvent(DiagnosticEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, EventMonitor.CacheActionDescription description) voidEventMonitor.completeDirtyCalculationEvent(DiagnosticEvent dirtyCalculationEvent, SharedSessionContractImplementor session, EntityPersister persister, EntityEntry entry, int[] dirtyProperties) -
Uses of EntityPersister in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return EntityPersisterModifier and TypeMethodDescriptionAbstractDatabaseOperationEvent.getPersister()The persister for the entity.PostLoadEvent.getPersister()PreLoadEvent.getPersister()Methods in org.hibernate.event.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptionEventSource.instantiate(EntityPersister persister, Object id) Instantiate an entity instance, using either an interceptor, or the given persisterPostLoadEvent.setPersister(EntityPersister persister) PreLoadEvent.setPersister(EntityPersister persister) Constructors in org.hibernate.event.spi with parameters of type EntityPersisterModifierConstructorDescriptionAbstractDatabaseOperationEvent(SharedSessionContractImplementor source, Object entity, Object id, EntityPersister persister) Constructs an event containing the pertinent information.AbstractPostDatabaseOperationEvent(SharedSessionContractImplementor source, Object entity, Object id, EntityPersister persister) Constructs an event containing the pertinent information.AbstractPreDatabaseOperationEvent(SharedSessionContractImplementor source, Object entity, Object id, EntityPersister persister) Constructs an event containing the pertinent information.PostDeleteEvent(Object entity, Object id, Object[] deletedState, EntityPersister persister, SharedSessionContractImplementor source) PostInsertEvent(Object entity, Object id, Object[] state, EntityPersister persister, SharedSessionContractImplementor source) PostLoadEvent(Object id, EntityPersister persister, Object entity, EventSource session) PostUpdateEvent(Object entity, Object id, Object[] state, Object[] oldState, int[] dirtyProperties, EntityPersister persister, SharedSessionContractImplementor source) PostUpsertEvent(Object entity, Object id, Object[] state, int[] dirtyProperties, EntityPersister persister, SharedSessionContractImplementor source) PreDeleteEvent(Object entity, Object id, Object[] deletedState, EntityPersister persister, SharedSessionContractImplementor source) Constructs an event containing the pertinent information.PreInsertEvent(Object entity, Object id, Object[] state, EntityPersister persister, SharedSessionContractImplementor source) Constructs an event containing the pertinent information.PreUpdateEvent(Object entity, Object id, Object[] state, Object[] oldState, EntityPersister persister, SharedSessionContractImplementor source) Constructs an event containing the pertinent information.PreUpsertEvent(Object entity, Object id, Object[] state, EntityPersister persister, SharedSessionContractImplementor source) Constructs an event containing the pertinent information. -
Uses of EntityPersister in org.hibernate.generator
Methods in org.hibernate.generator with parameters of type EntityPersisterModifier and TypeMethodDescriptionOnExecutionGenerator.getGeneratedIdentifierDelegate(EntityPersister persister) TheInsertGeneratedIdentifierDelegateused to retrieve the generated value if this object is an identifier generator.default String[]OnExecutionGenerator.getUniqueKeyPropertyNames(EntityPersister persister) The name of a property of the entity which may be used to locate the just-inserted row containing the generated value. -
Uses of EntityPersister in org.hibernate.generator.values
Fields in org.hibernate.generator.values declared as EntityPersisterModifier and TypeFieldDescriptionprotected final EntityPersisterAbstractGeneratedValuesMutationDelegate.persisterConstructors in org.hibernate.generator.values with parameters of type EntityPersisterModifierConstructorDescriptionAbstractGeneratedValuesMutationDelegate(EntityPersister persister, EventType timing) AbstractGeneratedValuesMutationDelegate(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) -
Uses of EntityPersister in org.hibernate.id
Methods in org.hibernate.id with parameters of type EntityPersisterModifier and TypeMethodDescriptionCompositeNestedGeneratedValueGenerator.getGeneratedIdentifierDelegate(EntityPersister persister) IdentityGenerator.getGeneratedIdentifierDelegate(EntityPersister persister) NativeGenerator.getGeneratedIdentifierDelegate(EntityPersister persister) String[]SelectGenerator.getUniqueKeyPropertyNames(EntityPersister persister) -
Uses of EntityPersister in org.hibernate.id.insert
Methods in org.hibernate.id.insert that return EntityPersisterModifier and TypeMethodDescriptionprotected EntityPersisterTableInsertReturningBuilder.getMutationTarget()Constructors in org.hibernate.id.insert with parameters of type EntityPersisterModifierConstructorDescriptionAbstractReturningDelegate(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) protectedAbstractSelectingDelegate(EntityPersister persister, EventType timing, boolean supportsArbitraryValues, boolean supportsRowId) BasicSelectingDelegate(EntityPersister persister) GetGeneratedKeysDelegate(EntityPersister persister, boolean inferredKeys, EventType timing) InsertReturningDelegate(EntityPersister persister, EventType timing) TableInsertReturningBuilder(EntityPersister mutationTarget, MutatingTableReference tableReference, List<ColumnReference> generatedColumns, SessionFactoryImplementor sessionFactory) UniqueKeySelectingDelegate(EntityPersister persister, String[] uniqueKeyPropertyNames, EventType timing) -
Uses of EntityPersister in org.hibernate.metamodel
Methods in org.hibernate.metamodel that return EntityPersisterModifier and TypeMethodDescriptionMappingMetamodel.findEntityDescriptor(Class<?> entityJavaType) Find an entity mapping descriptor based on its Class.MappingMetamodel.findEntityDescriptor(String entityName) Find an entity mapping descriptor based on its Hibernate entity name.MappingMetamodel.getEntityDescriptor(Class<?> entityJavaType) Get an entity mapping descriptor based on its Class.MappingMetamodel.getEntityDescriptor(String entityName) Get an entity mapping descriptor based on its Hibernate entity-nameMappingMetamodel.getEntityDescriptor(NavigableRole name) Get an entity mapping descriptor based on its NavigableRole.MappingMetamodel.locateEntityDescriptor(Class<?> byClass) Deprecated, for removal: This API element is subject to removal in a future version.No longer usedMethods in org.hibernate.metamodel that return types with arguments of type EntityPersisterModifier and TypeMethodDescriptionMappingMetamodel.streamEntityDescriptors()Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in org.hibernate.metamodel with type arguments of type EntityPersisterModifier and TypeMethodDescriptionvoidMappingMetamodel.forEachEntityDescriptor(Consumer<EntityPersister> action) Visit all entity mapping descriptors defined in the model -
Uses of EntityPersister in org.hibernate.metamodel.mapping
Methods in org.hibernate.metamodel.mapping that return EntityPersisterMethods in org.hibernate.metamodel.mapping with parameters of type EntityPersisterModifier and TypeMethodDescriptiondefault voidAuxiliaryMapping.addToInsertGroup(MutationGroupBuilder insertGroupBuilder, EntityPersister persister) -
Uses of EntityPersister in org.hibernate.metamodel.spi
Methods in org.hibernate.metamodel.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptionManagedTypeRepresentationResolver.resolveStrategy(PersistentClass bootDescriptor, EntityPersister runtimeDescriptor, RuntimeModelCreationContext creationContext) Resolve the strategy to use for the given entity -
Uses of EntityPersister in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection that return EntityPersisterModifier and TypeMethodDescriptionAbstractCollectionPersister.getElementPersister()CollectionPersister.getElementPersister()Get the persister of the element class, if this is a collection of entities (optional operation).protected EntityPersisterAbstractCollectionPersister.getElementPersisterInternal()AbstractCollectionPersister.getOwnerEntityPersister()CollectionPersister.getOwnerEntityPersister()Get the persister of the entity that "owns" this collection -
Uses of EntityPersister in org.hibernate.persister.entity
Classes in org.hibernate.persister.entity that implement EntityPersisterModifier and TypeClassDescriptionclassBasic functionality for persisting an entity via JDBC, using either generated or custom SQL.classAnEntityPersisterimplementing the normalizedInheritanceType.JOINEDinheritance mapping strategy for an entity and its inheritance hierarchy.classThe default implementation of theEntityPersisterinterface.classAnEntityPersisterimplementing theInheritanceType.TABLE_PER_CLASSmapping strategy for an entity and its inheritance hierarchy.Methods in org.hibernate.persister.entity that return EntityPersisterModifier and TypeMethodDescriptionAbstractEntityPersister.getEntityPersister()AbstractEntityPersister.getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory) EntityPersister.getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory) Obtain 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 EntityPersisterModifier and TypeMethodDescriptionprotected AttributeMappingAbstractEntityPersister.buildSingularAssociationAttributeMapping(String attrName, NavigableRole navigableRole, int stateArrayPosition, int fetchableIndex, Property bootProperty, ManagedMappingType declaringType, EntityPersister declaringEntityPersister, EntityType attrType, PropertyAccess propertyAccess, CascadeStyle cascadeStyle, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) For Hibernate ReactiveConstructors in org.hibernate.persister.entity with parameters of type EntityPersisterModifierConstructorDescriptionDiscriminatorType(BasicType<?> underlyingType, EntityPersister persister, DiscriminatorConverter converter) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of EntityPersister in org.hibernate.persister.entity.mutation
Fields in org.hibernate.persister.entity.mutation declared as EntityPersisterModifier and TypeFieldDescriptionprotected final EntityPersisterAbstractMutationCoordinator.entityPersisterMethods in org.hibernate.persister.entity.mutation that return EntityPersisterModifier and TypeMethodDescriptionprotected EntityPersisterAbstractMutationCoordinator.entityPersister()Methods in org.hibernate.persister.entity.mutation with parameters of type EntityPersisterModifier and TypeMethodDescriptionprotected static voidAbstractMutationCoordinator.applyKeyRestriction(Object rowId, EntityPersister entityPersister, RestrictedTableMutationBuilder<?, ?> tableMutationBuilder, EntityTableMapping tableMapping) static EntityTableMappingAbstractMutationCoordinator.createAuxiliaryTableMapping(EntityTableMapping identifierTableMapping, EntityPersister persister, String tableName) For temporal history tables and audit log tables.booleanUpdateCoordinatorStandard.hasLazyDirtyFields(EntityPersister persister, int[] dirtyFields) protected static booleanAbstractMutationCoordinator.needsRowId(EntityPersister entityPersister, EntityTableMapping tableMapping) UpdateCoordinatorStandard.physicalTableMappingForMutation(EntityPersister persister, SelectableMapping selectableMapping) Constructors in org.hibernate.persister.entity.mutation with parameters of type EntityPersisterModifierConstructorDescriptionAbstractDeleteCoordinator(EntityPersister entityPersister, SessionFactoryImplementor factory) AbstractMutationCoordinator(EntityPersister entityPersister, SessionFactoryImplementor factory) DeleteCoordinatorAudit(EntityPersister entityPersister, SessionFactoryImplementor factory, DeleteCoordinator currentDeleteCoordinator) DeleteCoordinatorHistory(EntityPersister entityPersister, SessionFactoryImplementor factory, DeleteCoordinator currentDeleteCoordinator) DeleteCoordinatorSoft(EntityPersister entityPersister, SessionFactoryImplementor factory) DeleteCoordinatorStandard(EntityPersister entityPersister, SessionFactoryImplementor factory) DeleteCoordinatorTemporal(EntityPersister entityPersister, SessionFactoryImplementor factory) InsertCoordinatorAudit(EntityPersister entityPersister, SessionFactoryImplementor factory, InsertCoordinator currentInsertCoordinator) InsertCoordinatorHistory(EntityPersister entityPersister, SessionFactoryImplementor factory, InsertCoordinator currentInsertCoordinator) InsertCoordinatorStandard(EntityPersister entityPersister, SessionFactoryImplementor factory) InsertCoordinatorTemporal(EntityPersister entityPersister, SessionFactoryImplementor factory) MergeCoordinatorAudit(EntityPersister entityPersister, SessionFactoryImplementor factory, UpdateCoordinator currentUpdateCoordinator) MergeCoordinatorHistory(EntityPersister entityPersister, SessionFactoryImplementor factory, UpdateCoordinator currentMergeCoordinator) MergeCoordinatorStandard(EntityPersister entityPersister, SessionFactoryImplementor factory) MergeCoordinatorTemporal(EntityPersister entityPersister, SessionFactoryImplementor factory) UpdateCoordinatorAudit(EntityPersister entityPersister, SessionFactoryImplementor factory, UpdateCoordinator currentUpdateCoordinator) UpdateCoordinatorHistory(EntityPersister entityPersister, SessionFactoryImplementor factory, UpdateCoordinator currentUpdateCoordinator) UpdateCoordinatorNoOp(EntityPersister entityPersister) UpdateCoordinatorStandard(EntityPersister entityPersister, SessionFactoryImplementor factory) protectedUpdateCoordinatorStandard(EntityPersister entityPersister, SessionFactoryImplementor factory, MutationOperationGroup staticUpdateGroup, BatchKey batchKey, MutationOperationGroup versionUpdateGroup, BatchKey versionUpdateBatchkey) UpdateCoordinatorTemporal(EntityPersister entityPersister, SessionFactoryImplementor factory) -
Uses of EntityPersister in org.hibernate.persister.spi
Methods in org.hibernate.persister.spi that return EntityPersisterModifier and TypeMethodDescriptionPersisterFactory.createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, RuntimeModelCreationContext creationContext) Create an entity persister instance.Methods in org.hibernate.persister.spi that return types with arguments of type EntityPersisterModifier and TypeMethodDescriptionClass<? extends EntityPersister> PersisterClassResolver.getEntityPersisterClass(PersistentClass metadata) Returns the entity persister class for a given entityName or null if the entity persister class should be the default. -
Uses of EntityPersister in org.hibernate.persister.state.spi
Methods in org.hibernate.persister.state.spi with parameters of type EntityPersisterModifier and TypeMethodDescriptionStateManagement.createAuxiliaryMapping(EntityPersister persister, RootClass bootDescriptor, org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess creationProcess) StateManagement.createDeleteCoordinator(EntityPersister persister) StateManagement.createInsertCoordinator(EntityPersister persister) StateManagement.createMergeCoordinator(EntityPersister persister) StateManagement.createUpdateCoordinator(EntityPersister persister) -
Uses of EntityPersister in org.hibernate.pretty
Methods in org.hibernate.pretty with parameters of type EntityPersisterModifier and TypeMethodDescriptionstatic 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.proxy
Methods in org.hibernate.proxy that return EntityPersister -
Uses of EntityPersister in org.hibernate.query.sqm.sql
Methods in org.hibernate.query.sqm.sql with parameters of type EntityPersisterModifier and TypeMethodDescriptionBaseSqmToSqlAstConverter.visitInsertionTargetPaths(BiConsumer<Assignable, List<ColumnReference>> targetColumnReferenceConsumer, SqmInsertStatement<?> sqmStatement, EntityPersister entityDescriptor, TableGroup rootTableGroup) -
Uses of EntityPersister in org.hibernate.sql.ast.tree.expression
Methods in org.hibernate.sql.ast.tree.expression that return EntityPersisterConstructors in org.hibernate.sql.ast.tree.expression with parameters of type EntityPersister -
Uses of EntityPersister in org.hibernate.sql.results.graph.entity
Methods in org.hibernate.sql.results.graph.entity that return EntityPersisterModifier and TypeMethodDescriptionEntityInitializer.getConcreteDescriptor(Data data) default EntityPersisterEntityInitializer.getConcreteDescriptor(RowProcessingState rowProcessingState) EntityInitializer.getEntityDescriptor()Get the descriptor for the type of entity being initialized -
Uses of EntityPersister in org.hibernate.type
Methods in org.hibernate.type that return EntityPersisterModifier and TypeMethodDescriptionEntityType.getAssociatedEntityPersister(SessionFactoryImplementor factory) Methods in org.hibernate.type with parameters of type EntityPersisterModifier and TypeMethodDescriptionstatic voidTypeHelper.replace(EntityPersister persister, Object entity, SharedSessionContractImplementor session, Object owner, Map<Object, Object> copyCache) Apply theType.replace(Object, Object, SharedSessionContractImplementor, Object, Map)operation across a series of values.