Uses of Interface
org.hibernate.persister.entity.EntityPersister
-
-
Uses of EntityPersister in org.hibernate
Methods in org.hibernate that return EntityPersister Modifier and Type Method Description EntityPersister
CustomEntityDirtinessStrategy.AttributeInformation. getContainingPersister()
Get a reference to the persister for the entity containing this attribute.Methods in org.hibernate with parameters of type EntityPersister Modifier and Type Method Description boolean
CustomEntityDirtinessStrategy. canDirtyCheck(java.lang.Object entity, EntityPersister persister, Session session)
Is this strategy capable of telling whether the given entity is dirty? A return oftrue
means thatCustomEntityDirtinessStrategy.isDirty(java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.Session)
will be called next as the definitive means to determine whether the entity is dirty.void
CustomEntityDirtinessStrategy. findDirty(java.lang.Object entity, EntityPersister persister, Session session, CustomEntityDirtinessStrategy.DirtyCheckContext dirtyCheckContext)
Callback used to hook into Hibernate algorithm for determination of which attributes have changed.boolean
CustomEntityDirtinessStrategy. isDirty(java.lang.Object entity, EntityPersister persister, Session session)
The callback used by Hibernate to determine if the given entity is dirty.void
CustomEntityDirtinessStrategy. resetDirty(java.lang.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.cache.spi
Methods in org.hibernate.cache.spi with parameters of type EntityPersister Modifier and Type Method Description java.lang.Object
CacheKeysFactory. createEntityKey(java.lang.Object id, EntityPersister persister, SessionFactoryImplementor factory, java.lang.String tenantIdentifier)
java.lang.Object
CacheKeysFactory. createNaturalIdKey(java.lang.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 java.lang.Object
EntityDataAccess. generateCacheKey(java.lang.Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, java.lang.String tenantIdentifier)
To create instances of keys for this region, Hibernate will invoke this method exclusively so that generated implementations can generate optimised keys.java.lang.Object
NaturalIdDataAccess. generateCacheKey(java.lang.Object[] naturalIdValues, EntityPersister rootEntityDescriptor, SharedSessionContractImplementor session)
To create instances of NaturalIdCacheKey for this region, Hibernate will invoke this method exclusively so that generated implementations can generate optimised keys. -
Uses of EntityPersister in org.hibernate.cache.spi.entry
Methods in org.hibernate.cache.spi.entry that return EntityPersister Modifier and Type Method Description EntityPersister
ReferenceCacheEntryImpl. getSubclassPersister()
Methods in org.hibernate.cache.spi.entry with parameters of type EntityPersister Modifier and Type Method Description java.lang.Object[]
StandardCacheEntryImpl. assemble(java.lang.Object instance, java.io.Serializable 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(java.lang.Object reference, EntityPersister subclassPersister)
Constructs a ReferenceCacheEntryImplStandardCacheEntryImpl(java.lang.Object[] state, EntityPersister persister, java.lang.Object version, SharedSessionContractImplementor session, java.lang.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 java.lang.Object
AbstractEntityDataAccess. generateCacheKey(java.lang.Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, java.lang.String tenantIdentifier)
java.lang.Object
AbstractNaturalIdDataAccess. generateCacheKey(java.lang.Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session)
java.lang.Object
EntityReadWriteAccess. generateCacheKey(java.lang.Object id, EntityPersister rootEntityDescriptor, SessionFactoryImplementor factory, java.lang.String tenantIdentifier)
java.lang.Object
NaturalIdReadWriteAccess. generateCacheKey(java.lang.Object[] naturalIdValues, EntityPersister rootEntityDescriptor, SharedSessionContractImplementor session)
-
Uses of EntityPersister in org.hibernate.cfg.beanvalidation
Constructors in org.hibernate.cfg.beanvalidation with parameters of type EntityPersister Constructor Description HibernateTraversableResolver(EntityPersister persister, java.util.concurrent.ConcurrentHashMap<EntityPersister,java.util.Set<java.lang.String>> associationsPerEntityPersister, SessionFactoryImplementor factory)
Constructor parameters in org.hibernate.cfg.beanvalidation with type arguments of type EntityPersister Constructor Description HibernateTraversableResolver(EntityPersister persister, java.util.concurrent.ConcurrentHashMap<EntityPersister,java.util.Set<java.lang.String>> associationsPerEntityPersister, SessionFactoryImplementor factory)
-
Uses of EntityPersister in org.hibernate.engine.profile
Methods in org.hibernate.engine.profile that return EntityPersister Modifier and Type Method Description EntityPersister
Association. getOwner()
Constructors in org.hibernate.engine.profile with parameters of type EntityPersister Constructor Description Association(EntityPersister owner, java.lang.String associationPath)
Constructs a association defining what is to be fetched. -
Uses of EntityPersister in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return EntityPersister Modifier and Type Method Description EntityPersister
SessionDelegatorBaseImpl. getEntityPersister(java.lang.String entityName, java.lang.Object object)
EntityPersister
SessionFactoryDelegatingImpl. getEntityPersister(java.lang.String entityName)
default EntityPersister
SessionFactoryImplementor. getEntityPersister(java.lang.String entityName)
Deprecated.(since 5.2) UseMetamodelImplementor.entityPersister(Class)
instead.EntityPersister
SharedSessionContractImplementor. getEntityPersister(java.lang.String entityName, java.lang.Object object)
Get the EntityPersister for any instanceEntityPersister
EntityEntry. getPersister()
EntityPersister
EntityKey. getPersister()
EntityPersister
SessionFactoryDelegatingImpl. locateEntityPersister(java.lang.Class byClass)
EntityPersister
SessionFactoryDelegatingImpl. locateEntityPersister(java.lang.String byName)
default EntityPersister
SessionFactoryImplementor. locateEntityPersister(java.lang.Class byClass)
Deprecated.(since 5.2) UseMetamodelImplementor.locateEntityPersister(Class)
instead.default EntityPersister
SessionFactoryImplementor. locateEntityPersister(java.lang.String byName)
Deprecated.(since 5.2) UseMetamodelImplementor.locateEntityPersister(String)
instead.Methods in org.hibernate.engine.spi that return types with arguments of type EntityPersister Modifier and Type Method Description java.util.Map<java.lang.String,EntityPersister>
SessionFactoryDelegatingImpl. getEntityPersisters()
default java.util.Map<java.lang.String,EntityPersister>
SessionFactoryImplementor. getEntityPersisters()
Deprecated.(since 5.2) UseMetamodelImplementor.entityPersisters()
instead.Methods in org.hibernate.engine.spi with parameters of type EntityPersister Modifier and Type Method Description EntityEntry
PersistenceContext. addEntity(java.lang.Object entity, Status status, java.lang.Object[] loadedState, EntityKey entityKey, java.lang.Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement)
Adds an entity to the internal caches.EntityEntry
PersistenceContext. addEntry(java.lang.Object entity, Status status, java.lang.Object[] loadedState, java.lang.Object rowId, java.io.Serializable id, java.lang.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.void
PersistenceContext.NaturalIdHelper. cacheNaturalIdCrossReferenceFromLoad(EntityPersister persister, java.io.Serializable id, java.lang.Object[] naturalIdValues)
Performs processing related to creating natural-id cross-reference entries on load.EntityEntry
EntityEntryFactory. createEntityEntry(Status status, java.lang.Object[] loadedState, java.lang.Object rowId, java.io.Serializable id, java.lang.Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)
CreatesEntityEntry
.java.lang.Object[]
PersistenceContext.NaturalIdHelper. extractNaturalIdValues(java.lang.Object[] state, EntityPersister persister)
Given an array of "full entity state", extract the portions that represent the natural idjava.lang.Object[]
PersistenceContext.NaturalIdHelper. extractNaturalIdValues(java.lang.Object entity, EntityPersister persister)
Given an entity instance, extract the values that represent the natural idjava.lang.Object[]
PersistenceContext.NaturalIdHelper. findCachedNaturalId(EntityPersister persister, java.io.Serializable pk)
Given a persister and primary key, find the corresponding cross-referenced natural id values.java.io.Serializable
PersistenceContext.NaturalIdHelper. findCachedNaturalIdResolution(EntityPersister persister, java.lang.Object[] naturalIdValues)
Given a persister and natural-id values, find the corresponding cross-referenced primary key.EntityKey
SessionDelegatorBaseImpl. generateEntityKey(java.io.Serializable id, EntityPersister persister)
EntityKey
SharedSessionContractImplementor. generateEntityKey(java.io.Serializable id, EntityPersister persister)
Hide the changing requirements of entity key creationjava.util.Collection<java.io.Serializable>
PersistenceContext.NaturalIdHelper. getCachedPkResolutions(EntityPersister persister)
Find all the locally cached primary key cross-reference entries for the given persister.java.lang.Object[]
PersistenceContext. getDatabaseSnapshot(java.io.Serializable id, EntityPersister persister)
Get the current state of the entity as known to the underlying database, or null if there is no corresponding rowjava.io.Serializable[]
BatchFetchQueue. getEntityBatch(EntityPersister persister, java.io.Serializable id, int batchSize, EntityMode entityMode)
Get a batch of unloaded identifiers for this class, using a slightly complex algorithm that tries to grab keys registered immediately after the given key.java.lang.Object[]
PersistenceContext. getNaturalIdSnapshot(java.io.Serializable 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.void
PersistenceContext.NaturalIdHelper. handleEviction(java.lang.Object object, EntityPersister persister, java.io.Serializable identifier)
Called onSession.evict(java.lang.Object)
to give a chance to clean up natural-id cross refs.void
PersistenceContext.NaturalIdHelper. handleSynchronization(EntityPersister persister, java.io.Serializable pk, java.lang.Object entity)
Part of the "load synchronization process".java.lang.Object
SessionDelegatorBaseImpl. instantiate(EntityPersister persister, java.io.Serializable id)
java.lang.Object
SessionImplementor. instantiate(EntityPersister persister, java.io.Serializable id)
void
PersistenceContext.NaturalIdHelper. manageLocalNaturalIdCrossReference(EntityPersister persister, java.io.Serializable id, java.lang.Object[] state, java.lang.Object[] previousState, CachedNaturalIdValueSource source)
Creates necessary local cross-reference entries.void
PersistenceContext.NaturalIdHelper. manageSharedNaturalIdCrossReference(EntityPersister persister, java.io.Serializable id, java.lang.Object[] state, java.lang.Object[] previousState, CachedNaturalIdValueSource source)
Creates necessary shared (second level cache) cross-reference entries.java.lang.Object
PersistenceContext. narrowProxy(java.lang.Object proxy, EntityPersister persister, EntityKey key, java.lang.Object object)
If the existing proxy is insufficiently "narrow" (derived), instantiate a new proxy and overwrite the registration of the old one.void
CascadingAction. noCascade(EventSource session, java.lang.Object parent, EntityPersister persister, Type propertyType, int propertyIndex)
Called (in the case ofCascadingAction.requiresNoCascadeChecking()
returning true) to validate that no cascade on the given property is considered a valid semantic.void
CascadingActions.BaseCascadingAction. noCascade(EventSource session, java.lang.Object parent, EntityPersister persister, Type propertyType, int propertyIndex)
java.lang.Object
PersistenceContext. proxyFor(EntityPersister persister, EntityKey key, java.lang.Object impl)
Return the existing proxy associated with the given EntityKey, or the third argument (the entity associated with the key) if no proxy exists.void
PersistenceContext. registerInsertedKey(EntityPersister persister, java.io.Serializable id)
Register keys inserted during the current transactionjava.lang.Object[]
PersistenceContext.NaturalIdHelper. removeLocalNaturalIdCrossReference(EntityPersister persister, java.io.Serializable id, java.lang.Object[] state)
Cleans up local cross-reference entries.void
PersistenceContext.NaturalIdHelper. removeSharedNaturalIdCrossReference(EntityPersister persister, java.io.Serializable id, java.lang.Object[] naturalIdValues)
Cleans up local cross-reference entries.boolean
PersistenceContext. wasInsertedDuringTransaction(EntityPersister persister, java.io.Serializable 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(java.io.Serializable id, EntityPersister persister)
Construct a unique identifier for an entity class instance. -
Uses of EntityPersister in org.hibernate.envers.event.spi
Methods in org.hibernate.envers.event.spi with parameters of type EntityPersister Modifier and Type Method Description protected void
BaseEnversEventListener. generateBidirectionalCollectionChangeWorkUnits(org.hibernate.envers.internal.synchronization.AuditProcess auditProcess, EntityPersister entityPersister, java.lang.String entityName, java.lang.Object[] newState, java.lang.Object[] oldState, SessionImplementor session)
boolean
EnversPostDeleteEventListenerImpl. requiresPostCommitHanding(EntityPersister persister)
boolean
EnversPostInsertEventListenerImpl. requiresPostCommitHanding(EntityPersister persister)
boolean
EnversPostUpdateEventListenerImpl. requiresPostCommitHanding(EntityPersister persister)
-
Uses of EntityPersister in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return EntityPersister Modifier and Type Method Description EntityPersister
ResolveNaturalIdEvent. getEntityPersister()
EntityPersister
AbstractPreDatabaseOperationEvent. getPersister()
The persister for theentity
.EntityPersister
PostDeleteEvent. getPersister()
EntityPersister
PostInsertEvent. getPersister()
EntityPersister
PostLoadEvent. getPersister()
EntityPersister
PostUpdateEvent. getPersister()
EntityPersister
PreLoadEvent. getPersister()
Methods in org.hibernate.event.spi with parameters of type EntityPersister Modifier and Type Method Description java.lang.Object
EventSource. instantiate(EntityPersister persister, java.io.Serializable id)
Instantiate an entity instance, using either an interceptor, or the given persisterPostLoadEvent
PostLoadEvent. setPersister(EntityPersister persister)
PreLoadEvent
PreLoadEvent. setPersister(EntityPersister persister)
Constructors in org.hibernate.event.spi with parameters of type EntityPersister Constructor Description AbstractPreDatabaseOperationEvent(EventSource source, java.lang.Object entity, java.io.Serializable id, EntityPersister persister)
Constructs an event containing the pertinent information.PostDeleteEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] deletedState, EntityPersister persister, EventSource source)
PostInsertEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, EntityPersister persister, EventSource source)
PostUpdateEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.Object[] oldState, int[] dirtyProperties, EntityPersister persister, EventSource source)
PreDeleteEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] deletedState, EntityPersister persister, EventSource source)
Constructs an event containing the pertinent information.PreInsertEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, EntityPersister persister, EventSource source)
Constructs an event containing the pertinent information.PreUpdateEvent(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.Object[] oldState, EntityPersister persister, EventSource source)
Constructs an event containing the pertinent information.ResolveNaturalIdEvent(java.util.Map<java.lang.String,java.lang.Object> naturalIdValues, EntityPersister entityPersister, EventSource source)
ResolveNaturalIdEvent(java.util.Map<java.lang.String,java.lang.Object> naturalIdValues, EntityPersister entityPersister, LockOptions lockOptions, EventSource source)
-
Uses of EntityPersister in org.hibernate.id
Subinterfaces of EntityPersister in org.hibernate.id Modifier and Type Interface Description interface
PostInsertIdentityPersister
A persister that may have an identity assigned by execution of a SQL INSERT. -
Uses of EntityPersister in org.hibernate.loader
Methods in org.hibernate.loader with parameters of type EntityPersister Modifier and Type Method Description protected java.util.List
Loader. loadEntity(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object index, Type keyType, Type indexType, EntityPersister persister)
Called by subclasses that load entitiesprotected java.util.List
Loader. loadEntity(SharedSessionContractImplementor session, java.lang.Object id, Type identifierType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalIdentifier, EntityPersister persister, LockOptions lockOptions)
Called by subclasses that load entitiesjava.util.List
Loader. loadEntityBatch(SharedSessionContractImplementor session, java.io.Serializable[] ids, Type idType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, EntityPersister persister, LockOptions lockOptions)
Called by wrappers that batch load entities -
Uses of EntityPersister in org.hibernate.loader.entity
Methods in org.hibernate.loader.entity that return EntityPersister Modifier and Type Method Description EntityPersister
BatchingEntityLoader. persister()
Constructors in org.hibernate.loader.entity with parameters of type EntityPersister Constructor Description BatchingEntityLoader(EntityPersister persister)
-
Uses of EntityPersister in org.hibernate.loader.entity.plan
Methods in org.hibernate.loader.entity.plan that return EntityPersister Modifier and Type Method Description EntityPersister
BatchingEntityLoader. persister()
Methods in org.hibernate.loader.entity.plan with parameters of type EntityPersister Modifier and Type Method Description java.util.List
AbstractLoadPlanBasedEntityLoader. loadEntityBatch(SharedSessionContractImplementor session, java.io.Serializable[] ids, Type idType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, EntityPersister persister, LockOptions lockOptions)
Called by wrappers that batch load entitiesConstructors in org.hibernate.loader.entity.plan with parameters of type EntityPersister Constructor Description BatchingEntityLoader(EntityPersister persister)
-
Uses of EntityPersister in org.hibernate.loader.plan.build.spi
Methods in org.hibernate.loader.plan.build.spi with parameters of type EntityPersister Modifier and Type Method Description static LoadPlan
MetamodelDrivenLoadPlanBuilder. buildRootEntityLoadPlan(LoadPlanBuildingAssociationVisitationStrategy strategy, EntityPersister persister)
Coordinates building a LoadPlan that defines just a single root entity return (may have fetches).ExpandingEntityQuerySpace
ExpandingQuerySpaces. makeEntityQuerySpace(java.lang.String uid, EntityPersister entityPersister, boolean canJoinsBeRequired)
Create anExpandingEntityQuerySpace
for an entity (that is not a "return") with the specified unique ID.ExpandingEntityQuerySpace
ExpandingQuerySpaces. makeRootEntityQuerySpace(java.lang.String uid, EntityPersister entityPersister)
Create anExpandingEntityQuerySpace
for an entity "return" with the specified unique ID. -
Uses of EntityPersister in org.hibernate.loader.plan.exec.process.spi
Methods in org.hibernate.loader.plan.exec.process.spi that return EntityPersister Modifier and Type Method Description EntityPersister
ResultSetProcessingContext.EntityKeyResolutionContext. getEntityPersister()
-
Uses of EntityPersister in org.hibernate.loader.plan.spi
Methods in org.hibernate.loader.plan.spi that return EntityPersister Modifier and Type Method Description EntityPersister
EntityQuerySpace. getEntityPersister()
Retrieve the EntityPersister that this QuerySpace refers to.EntityPersister
EntityReference. getEntityPersister()
Retrieves the EntityPersister describing the entity associated with this Return. -
Uses of EntityPersister in org.hibernate.metamodel.spi
Methods in org.hibernate.metamodel.spi that return EntityPersister Modifier and Type Method Description EntityPersister
MetamodelImplementor. entityPersister(java.lang.Class entityClass)
Locate the persister for an entity by the entity class.EntityPersister
MetamodelImplementor. entityPersister(java.lang.String entityName)
Locate the persister for an entity by the entity-nameEntityPersister
MetamodelImplementor. locateEntityPersister(java.lang.Class byClass)
Locate an EntityPersister by the entity class.EntityPersister
MetamodelImplementor. locateEntityPersister(java.lang.String byName)
Locate the entity persister by name.Methods in org.hibernate.metamodel.spi that return types with arguments of type EntityPersister Modifier and Type Method Description java.util.Map<java.lang.String,EntityPersister>
MetamodelImplementor. entityPersisters()
Get all entity persisters as a Map, which entity name its the key and the persister is the value. -
Uses of EntityPersister in org.hibernate.persister.collection
Methods in org.hibernate.persister.collection that return EntityPersister Modifier and Type Method Description EntityPersister
AbstractCollectionPersister. getElementPersister()
EntityPersister
QueryableCollection. getElementPersister()
Get the persister of the element class, if this is a collection of entities (optional operation).EntityPersister
AbstractCollectionPersister. getOwnerEntityPersister()
EntityPersister
CollectionPersister. getOwnerEntityPersister()
Get the persister of the entity that "owns" this collection -
Uses of EntityPersister in org.hibernate.persister.entity
Subinterfaces of EntityPersister in org.hibernate.persister.entity Modifier and Type Interface Description interface
Loadable
Implemented by a EntityPersister that may be loaded using Loader.interface
Lockable
Contract for things that can be locked via aLockingStrategy
.interface
OuterJoinLoadable
A EntityPersister that may be loaded by outer join using the OuterJoinLoader hierarchy and may be an element of a one-to-many association.interface
Queryable
Extends the generic EntityPersister contract to add operations required by the Hibernate Query Languageinterface
SQLLoadable
A class persister that supports queries expressed in the platform native SQL dialectinterface
UniqueKeyLoadable
Classes in org.hibernate.persister.entity that implement EntityPersister Modifier and Type Class Description class
AbstractEntityPersister
Basic functionality for persisting an entity via JDBC through either generated or custom SQLclass
JoinedSubclassEntityPersister
An EntityPersister implementing the normalized "table-per-subclass" mapping strategyclass
SingleTableEntityPersister
The default implementation of the EntityPersister interface.class
UnionSubclassEntityPersister
Implementation of the "table-per-concrete-class" or "roll-down" mapping strategy for an entity and its inheritence hierarchy.Methods in org.hibernate.persister.entity that return EntityPersister Modifier and Type Method Description EntityPersister
AbstractEntityPersister. getEntityPersister()
EntityPersister
AbstractEntityPersister. getSubclassEntityPersister(java.lang.Object instance, SessionFactoryImplementor factory)
EntityPersister
EntityPersister. getSubclassEntityPersister(java.lang.Object instance, SessionFactoryImplementor factory)
A request has already identified the entity-name of this persister as the mapping for the given instance.Constructors in org.hibernate.persister.entity with parameters of type EntityPersister Constructor Description NamedQueryLoader(java.lang.String queryName, EntityPersister persister)
Constructs the NamedQueryLoader -
Uses of EntityPersister in org.hibernate.persister.spi
Methods in org.hibernate.persister.spi that return EntityPersister Modifier and Type Method Description EntityPersister
PersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext creationContext)
Create an entity persister instance.Methods in org.hibernate.persister.spi that return types with arguments of type EntityPersister Modifier and Type Method Description java.lang.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.persister.walking.spi
Methods in org.hibernate.persister.walking.spi that return EntityPersister Modifier and Type Method Description EntityPersister
EntityDefinition. getEntityPersister()
Methods in org.hibernate.persister.walking.spi with parameters of type EntityPersister Modifier and Type Method Description static void
MetamodelGraphWalker. visitEntity(AssociationVisitationStrategy strategy, EntityPersister persister)
Entry point into walking the model graph of an entity according to its defined metamodel. -
Uses of EntityPersister in org.hibernate.pretty
Methods in org.hibernate.pretty with parameters of type EntityPersister Modifier and Type Method Description static java.lang.String
MessageHelper. infoString(EntityPersister persister)
Generate an info message string relating to given entity persister.static java.lang.String
MessageHelper. infoString(EntityPersister persister, java.io.Serializable[] ids, SessionFactoryImplementor factory)
Generate an info message string relating to a series of entities.static java.lang.String
MessageHelper. infoString(EntityPersister persister, java.lang.Object id, SessionFactoryImplementor factory)
Generate an info message string relating to a particular entity.static java.lang.String
MessageHelper. infoString(EntityPersister persister, java.lang.Object id, Type identifierType, SessionFactoryImplementor factory)
Generate an info message string relating to a particular entity,. -
Uses of EntityPersister in org.hibernate.tuple
Methods in org.hibernate.tuple with parameters of type EntityPersister Modifier and Type Method Description static NonIdentifierAttribute
PropertyFactory. buildEntityBasedAttribute(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable)
Generate a non-identifier (and non-version) attribute based on the given mapped property from the given entitystatic VersionProperty
PropertyFactory. buildVersionProperty(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable)
Generates a VersionProperty representation for an entity mapping given its version mapping Property. -
Uses of EntityPersister in org.hibernate.tuple.component
Methods in org.hibernate.tuple.component that return EntityPersister Modifier and Type Method Description protected abstract EntityPersister
AbstractCompositionAttribute. locateOwningPersister()
protected EntityPersister
CompositionBasedCompositionAttribute. locateOwningPersister()
-
Uses of EntityPersister in org.hibernate.tuple.entity
Methods in org.hibernate.tuple.entity that return EntityPersister Modifier and Type Method Description EntityPersister
AbstractEntityBasedAttribute. getSource()
protected EntityPersister
EntityBasedCompositionAttribute. locateOwningPersister()
Constructors in org.hibernate.tuple.entity with parameters of type EntityPersister Constructor Description AbstractEntityBasedAttribute(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, java.lang.String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation)
EntityBasedAssociationAttribute(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, java.lang.String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo)
EntityBasedBasicAttribute(EntityPersister source, SessionFactoryImplementor factory, int attributeNumber, java.lang.String attributeName, Type attributeType, BaselineAttributeInformation baselineInfo)
EntityBasedCompositionAttribute(EntityPersister source, SessionFactoryImplementor factory, int attributeNumber, java.lang.String attributeName, CompositeType attributeType, BaselineAttributeInformation baselineInfo)
EntityMetamodel(PersistentClass persistentClass, EntityPersister persister, SessionFactoryImplementor sessionFactory)
VersionProperty(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, java.lang.String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation, VersionValue unsavedValue)
Constructs VersionProperty instances. -
Uses of EntityPersister in org.hibernate.type
Methods in org.hibernate.type that return EntityPersister Modifier and Type Method Description protected EntityPersister
EntityType. getAssociatedEntityPersister(SessionFactoryImplementor factory)
-