接口的使用
org.hibernate.persister.entity.EntityPersister
-
使用EntityPersister的程序包 程序包 说明 org.hibernate This package defines the central Hibernate APIs.org.hibernate.action.internal Internals for action processing.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 "caching back ends" to be plugged in as a caching provider.org.hibernate.cache.spi.access Defines contracts for transactional and concurrent access to cachedentityandcollectiondata.org.hibernate.cache.spi.entry This package defines formats for disassembled state kept in the second level cache.org.hibernate.cache.spi.support Package intended for simplifying the worked needed to implement a caching provider.org.hibernate.cfg.beanvalidation org.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.profile Models the fetch profiles defined by the applicationorg.hibernate.engine.spi org.hibernate.event.internal This package defines a default set of event listeners that implements the default behaviors of Hibernate.org.hibernate.event.spi org.hibernate.hql.internal.ast.tree org.hibernate.hql.internal.ast.util org.hibernate.id This package contains internal implementation classes for the main API interfaces.org.hibernate.internal An internal package containing mostly implementations of central Hibernate APIs.org.hibernate.loader This package defines functionality for processing JDBC result sets and returning complex graphs of persistent objects.org.hibernate.loader.entity This package defines entity loadersorg.hibernate.loader.entity.plan org.hibernate.loader.plan.build.internal.returns Contains the internal implementations of the building blocks that make up a metamodel-driven LoadPlan. .org.hibernate.loader.plan.build.internal.spaces Contains the internal implementations of query spaces in a metamodel-driven LoadPlan.org.hibernate.loader.plan.build.spi Defines the SPI for building a metamodel-driven LoadPlanorg.hibernate.loader.plan.exec.internal Provides the internal implementations for generating the load query from the LoadPlan and the ResultSet processor.org.hibernate.loader.plan.exec.process.spi org.hibernate.loader.plan.spi Defines the SPI for the building blocks that make up a LoadPlan.org.hibernate.metamodel.internal org.hibernate.metamodel.model.domain.spi org.hibernate.metamodel.spi org.hibernate.persister.collection This package abstracts the persistence mechanism for collections.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities, and defines the Hibernate runtime metamodel.org.hibernate.persister.internal org.hibernate.persister.spi org.hibernate.persister.walking.internal org.hibernate.persister.walking.spi org.hibernate.pretty Classes for pretty printing things for exception and log messages.org.hibernate.procedure.internal Defines the internal support for implementing stored procedure calling.org.hibernate.stat.internal org.hibernate.tuple This package defines a runtime metamodel for entities at the object level and abstracts the differences between the various entity modes.org.hibernate.tuple.component org.hibernate.tuple.entity org.hibernate.type A Hibernate Type is a strategy for mapping a Java property type to a JDBC type or types. -
-
org.hibernate中EntityPersister的使用
返回EntityPersister的org.hibernate中的方法 修饰符和类型 方法 说明 EntityPersisterCustomEntityDirtinessStrategy.AttributeInformation. getContainingPersister()Get a reference to the persister for the entity containing this attribute.参数类型为EntityPersister的org.hibernate中的方法 修饰符和类型 方法 说明 booleanCustomEntityDirtinessStrategy. canDirtyCheck(Object entity, EntityPersister persister, Session session)Is this strategy capable of telling whether the given 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. -
org.hibernate.action.internal中EntityPersister的使用
返回EntityPersister的org.hibernate.action.internal中的方法 修饰符和类型 方法 说明 EntityPersisterEntityAction. getPersister()entity persister accessor参数类型为EntityPersister的org.hibernate.action.internal中的方法 修饰符和类型 方法 说明 protected booleanEntityInsertAction. cacheInsert(EntityPersister persister, Object ck)protected booleanEntityUpdateAction. cacheUpdate(EntityPersister persister, Object previousVersion, Object ck)protected booleanEntityInsertAction. isCachePutEnabled(EntityPersister persister, SharedSessionContractImplementor session)参数类型为EntityPersister的org.hibernate.action.internal中的构造器 构造器 说明 AbstractEntityInsertAction(Serializable id, Object[] state, Object instance, boolean isVersionIncrementDisabled, EntityPersister persister, SharedSessionContractImplementor session)Constructs an AbstractEntityInsertAction object.EntityAction(SharedSessionContractImplementor session, Serializable id, Object instance, EntityPersister persister)Instantiate an action.EntityDeleteAction(Serializable id, Object[] state, Object version, Object instance, EntityPersister persister, boolean isCascadeDeleteEnabled, SessionImplementor session)Constructs an EntityDeleteAction.EntityIdentityInsertAction(Object[] state, Object instance, EntityPersister persister, boolean isVersionIncrementDisabled, SharedSessionContractImplementor session, boolean isDelayed)Constructs an EntityIdentityInsertActionEntityInsertAction(Serializable id, Object[] state, Object instance, Object version, EntityPersister persister, boolean isVersionIncrementDisabled, SharedSessionContractImplementor session)Constructs an EntityInsertAction.EntityUpdateAction(Serializable id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, EntityPersister persister, SharedSessionContractImplementor session)Constructs an EntityUpdateActionOrphanRemovalAction(Serializable id, Object[] state, Object version, Object instance, EntityPersister persister, boolean isCascadeDeleteEnabled, SessionImplementor session) -
org.hibernate.boot.internal中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.boot.internal中的方法 修饰符和类型 方法 说明 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) -
org.hibernate.cache.internal中EntityPersister的使用
-
org.hibernate.cache.spi中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.cache.spi中的方法 修饰符和类型 方法 说明 ObjectCacheKeysFactory. createEntityKey(Object id, EntityPersister persister, SessionFactoryImplementor factory, String tenantIdentifier)ObjectCacheKeysFactory. createNaturalIdKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) -
org.hibernate.cache.spi.access中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.cache.spi.access中的方法 修饰符和类型 方法 说明 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. -
org.hibernate.cache.spi.entry中EntityPersister的使用
返回EntityPersister的org.hibernate.cache.spi.entry中的方法 修饰符和类型 方法 说明 EntityPersisterReferenceCacheEntryImpl. getSubclassPersister()参数类型为EntityPersister的org.hibernate.cache.spi.entry中的方法 修饰符和类型 方法 说明 Object[]StandardCacheEntryImpl. assemble(Object instance, Serializable id, EntityPersister persister, Interceptor interceptor, EventSource session)Assemble the previously disassembled state represented by this entry into the given entity instance.参数类型为EntityPersister的org.hibernate.cache.spi.entry中的构造器 构造器 说明 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 -
org.hibernate.cache.spi.support中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.cache.spi.support中的方法 修饰符和类型 方法 说明 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) -
org.hibernate.cfg.beanvalidation中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.cfg.beanvalidation中的构造器 构造器 说明 HibernateTraversableResolver(EntityPersister persister, ConcurrentHashMap<EntityPersister,Set<String>> associationsPerEntityPersister, SessionFactoryImplementor factory)类型变量类型为EntityPersister的org.hibernate.cfg.beanvalidation中的构造器参数 构造器 说明 HibernateTraversableResolver(EntityPersister persister, ConcurrentHashMap<EntityPersister,Set<String>> associationsPerEntityPersister, SessionFactoryImplementor factory) -
org.hibernate.engine.internal中EntityPersister的使用
声明为EntityPersister的org.hibernate.engine.internal中的字段 修饰符和类型 字段 说明 protected EntityPersisterAbstractEntityEntry. persister返回EntityPersister的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 EntityPersisterAbstractEntityEntry. getPersister()protected EntityPersisterNaturalIdXrefDelegate. locatePersisterForKey(EntityPersister persister)It is only valid to define natural ids at the root of an entity hierarchy.参数类型为EntityPersister的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 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, Serializable 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)Same asTwoPhaseLoad.addUninitializedEntity(org.hibernate.engine.spi.EntityKey, java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.LockMode, org.hibernate.engine.spi.SharedSessionContractImplementor), but here for an entity from the second level cachestatic voidTwoPhaseLoad. addUninitializedEntity(EntityKey key, Object object, EntityPersister persister, LockMode lockMode, SharedSessionContractImplementor session)Add an uninitialized instance of an entity class, as a placeholder to ensure object identity.booleanNaturalIdXrefDelegate. cacheNaturalIdCrossReference(EntityPersister persister, Serializable pk, Object[] naturalIdValues)Creates needed cross-reference entries between the given primary (pk) and natural (naturalIdValues) key values for the given persister.static voidCascade. cascade(CascadingAction action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent)Cascade an action from the parent entity instance to all its children.static voidCascade. cascade(CascadingAction action, CascadePoint cascadePoint, EventSource eventSource, EntityPersister persister, Object parent, Object 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, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)EntityEntryMutableEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)Object[]NaturalIdXrefDelegate. findCachedNaturalId(EntityPersister persister, Serializable pk)Given a persister and primary key, find the locally cross-referenced natural id.SerializableNaturalIdXrefDelegate. findCachedNaturalIdResolution(EntityPersister persister, Object[] naturalIdValues)Given a persister and natural-id value(s), find the locally cross-referenced primary key.Collection<Serializable>NaturalIdXrefDelegate. getCachedPkResolutions(EntityPersister persister)Return all locally cross-referenced primary keys for the given persister.Object[]StatefulPersistenceContext. getDatabaseSnapshot(Serializable id, EntityPersister persister)Get the current state of the entity as known to the underlying database, or null if there is no corresponding rowObject[]StatefulPersistenceContext. getNaturalIdSnapshot(Serializable id, EntityPersister persister)static ObjectVersioning. getVersion(Object[] fields, EntityPersister persister)Extract the optimistic locking value out of the entity state snapshot.protected EntityPersisterNaturalIdXrefDelegate. 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)static voidTwoPhaseLoad. postHydrate(EntityPersister persister, Serializable id, Object[] values, Object rowId, Object object, LockMode lockMode, SharedSessionContractImplementor session)Register the "hydrated" state of an entity instance, after the first step of 2-phase loading.ObjectStatefulPersistenceContext. proxyFor(EntityPersister persister, EntityKey key, Object impl)voidStatefulPersistenceContext. registerInsertedKey(EntityPersister persister, Serializable id)static voidBatchFetchQueueHelper. removeBatchLoadableEntityKey(Serializable id, EntityPersister persister, SharedSessionContractImplementor session)Remove the entity key with the specifiedidandpersisterfrom the batch loadable entitiesBatchFetchQueue.Object[]NaturalIdXrefDelegate. removeNaturalIdCrossReference(EntityPersister persister, Serializable pk, Object[] naturalIdValues)Handle removing cross reference entries for the given natural-id/pk combostatic 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.booleanNaturalIdXrefDelegate. sameAsCached(EntityPersister persister, Serializable 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 voidVersioning. setVersion(Object[] fields, Object version, EntityPersister persister)Inject the optimistic locking value into the entity state snapshot.voidNaturalIdXrefDelegate. 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.protected voidNaturalIdXrefDelegate. validateNaturalId(EntityPersister persister, Object[] naturalIdValues)Invariant validate of the natural id.booleanStatefulPersistenceContext. wasInsertedDuringTransaction(EntityPersister persister, Serializable id)参数类型为EntityPersister的org.hibernate.engine.internal中的构造器 构造器 说明 AbstractEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)AbstractEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, EntityMode entityMode, String tenantId, boolean disableVersionIncrement, PersistenceContext persistenceContext)已过时。the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.ImmutableEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)ImmutableEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, EntityMode entityMode, String tenantId, boolean disableVersionIncrement, PersistenceContext persistenceContext)已过时。the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.MutableEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)MutableEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, EntityMode entityMode, String tenantId, boolean disableVersionIncrement, PersistenceContext persistenceContext)已过时。the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.Nullifier(Object self, boolean isDelete, boolean isEarlyInsert, SharedSessionContractImplementor session, EntityPersister persister)Constructs a Nullifier -
org.hibernate.engine.profile中EntityPersister的使用
返回EntityPersister的org.hibernate.engine.profile中的方法 修饰符和类型 方法 说明 EntityPersisterAssociation. getOwner()参数类型为EntityPersister的org.hibernate.engine.profile中的构造器 构造器 说明 Association(EntityPersister owner, String associationPath)Constructs an association defining what is to be fetched. -
org.hibernate.engine.spi中EntityPersister的使用
返回变量类型为EntityPersister的类型的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 Map<String,EntityPersister>SessionFactoryDelegatingImpl. getEntityPersisters()default Map<String,EntityPersister>SessionFactoryImplementor. getEntityPersisters()已过时。(since 5.2) UseMetamodelImplementor.entityPersisters()instead.参数类型为EntityPersister的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 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, Serializable 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.voidPersistenceContext.NaturalIdHelper. cacheNaturalIdCrossReferenceFromLoad(EntityPersister persister, Serializable id, Object[] naturalIdValues)Performs processing related to creating natural-id cross-reference entries on load.EntityEntryEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)CreatesEntityEntry.Object[]PersistenceContext.NaturalIdHelper. extractNaturalIdValues(Object[] state, EntityPersister persister)Given an array of "full entity state", extract the portions that represent the natural idObject[]PersistenceContext.NaturalIdHelper. extractNaturalIdValues(Object entity, EntityPersister persister)Given an entity instance, extract the values that represent the natural idObject[]PersistenceContext.NaturalIdHelper. findCachedNaturalId(EntityPersister persister, Serializable pk)Given a persister and primary key, find the corresponding cross-referenced natural id values.SerializablePersistenceContext.NaturalIdHelper. findCachedNaturalIdResolution(EntityPersister persister, Object[] naturalIdValues)Given a persister and natural-id values, find the corresponding cross-referenced primary key.EntityKeySessionDelegatorBaseImpl. generateEntityKey(Serializable id, EntityPersister persister)EntityKeySharedSessionContractImplementor. generateEntityKey(Serializable id, EntityPersister persister)Hide the changing requirements of entity key creationCollection<Serializable>PersistenceContext.NaturalIdHelper. getCachedPkResolutions(EntityPersister persister)Find all the locally cached primary key cross-reference entries for the given persister.Object[]PersistenceContext. getDatabaseSnapshot(Serializable id, EntityPersister persister)Get the current state of the entity as known to the underlying database, or null if there is no corresponding rowSerializable[]BatchFetchQueue. getEntityBatch(EntityPersister persister, 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.Object[]PersistenceContext. getNaturalIdSnapshot(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.voidPersistenceContext.NaturalIdHelper. handleEviction(Object object, EntityPersister persister, Serializable identifier)Called onSession.evict(java.lang.Object)to give a chance to clean up natural-id cross refs.voidPersistenceContext.NaturalIdHelper. handleSynchronization(EntityPersister persister, Serializable pk, Object entity)Part of the "load synchronization process".ObjectSessionDelegatorBaseImpl. instantiate(EntityPersister persister, Serializable id)ObjectSessionImplementor. instantiate(EntityPersister persister, Serializable id)voidPersistenceContext.NaturalIdHelper. manageLocalNaturalIdCrossReference(EntityPersister persister, Serializable id, Object[] state, Object[] previousState, CachedNaturalIdValueSource source)Creates necessary local cross-reference entries.voidPersistenceContext.NaturalIdHelper. manageSharedNaturalIdCrossReference(EntityPersister persister, Serializable id, Object[] state, Object[] previousState, CachedNaturalIdValueSource source)Creates necessary shared (second level cache) cross-reference entries.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(EntityPersister persister, EntityKey key, 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.voidPersistenceContext. registerInsertedKey(EntityPersister persister, Serializable id)Register keys inserted during the current transactionObject[]PersistenceContext.NaturalIdHelper. removeLocalNaturalIdCrossReference(EntityPersister persister, Serializable id, Object[] state)Cleans up local cross-reference entries.voidPersistenceContext.NaturalIdHelper. removeSharedNaturalIdCrossReference(EntityPersister persister, Serializable id, Object[] naturalIdValues)Cleans up local cross-reference entries.booleanPersistenceContext. wasInsertedDuringTransaction(EntityPersister persister, Serializable id)Allows callers to check to see if the identified entity was inserted during the current transaction.参数类型为EntityPersister的org.hibernate.engine.spi中的构造器 构造器 说明 EntityKey(Serializable id, EntityPersister persister)Construct a unique identifier for an entity class instance. -
org.hibernate.event.internal中EntityPersister的使用
返回EntityPersister的org.hibernate.event.internal中的方法 修饰符和类型 方法 说明 protected EntityPersisterDefaultLoadEventListener. getPersister(LoadEvent event)参数类型为EntityPersister的org.hibernate.event.internal中的方法 修饰符和类型 方法 说明 protected voidDefaultDeleteEventListener. cascadeAfterDelete(EventSource session, EntityPersister persister, Object entity, Set transientEntities)protected voidAbstractSaveEventListener. cascadeAfterSave(EventSource source, EntityPersister persister, Object entity, Object anything)Handles to calls needed to perform post-save cascades.protected voidDefaultMergeEventListener. cascadeAfterSave(EventSource source, EntityPersister persister, Object entity, Object anything)Cascade behavior is redefined by this subclass, disable superclass behaviorprotected voidDefaultDeleteEventListener. cascadeBeforeDelete(EventSource session, EntityPersister persister, Object entity, EntityEntry entityEntry, Set transientEntities)protected voidAbstractSaveEventListener. cascadeBeforeSave(EventSource source, EntityPersister persister, Object entity, Object anything)Handles the calls needed to perform pre-save cascades for the given entity.protected voidDefaultMergeEventListener. cascadeBeforeSave(EventSource source, EntityPersister persister, Object entity, Object anything)Cascade behavior is redefined by this subclass, disable superclass behaviorprotected voidDefaultMergeEventListener. cascadeOnMerge(EventSource source, EntityPersister persister, Object entity, Map copyCache)Perform any cascades needed as part of this copy event.voidDefaultFlushEntityEventListener. checkId(Object object, EntityPersister persister, Serializable id, SessionImplementor session)make sure user didn't mangle the idprotected voidDefaultMergeEventListener. copyValues(EntityPersister persister, Object entity, Object target, SessionImplementor source, Map copyCache)protected voidDefaultMergeEventListener. copyValues(EntityPersister persister, Object entity, Object target, SessionImplementor source, Map copyCache, ForeignKeyDirection foreignKeyDirection)protected voidDefaultDeleteEventListener. deleteEntity(EventSource session, Object entity, EntityEntry entityEntry, boolean isCascadeDeleteEnabled, boolean isOrphanRemovalBeforeUpdates, EntityPersister persister, Set transientEntities)Perform the entity deletion.protected voidDefaultDeleteEventListener. deleteTransientEntity(EventSource session, Object entity, boolean cascadeDeleteEnabled, EntityPersister persister, Set transientEntities)We encountered a delete request on a transient instance.protected voidDefaultEvictEventListener. doEvict(Object object, EntityKey key, EntityPersister persister, EventSource session)protected SerializableDefaultSaveOrUpdateEventListener. getUpdateId(Object entity, EntityPersister persister, Serializable requestedId, SessionImplementor session)Determine the id to use for updating.protected SerializableDefaultUpdateEventListener. getUpdateId(Object entity, EntityPersister persister, Serializable requestedId, SessionImplementor session)If the user specified an id, assign it to the instance and use that, otherwise use the id already assigned to the instanceprotected booleanDefaultDeleteEventListener. invokeDeleteLifecycle(EventSource session, Object entity, EntityPersister persister)protected booleanDefaultFlushEntityEventListener. invokeInterceptor(SessionImplementor session, Object entity, EntityEntry entry, Object[] values, EntityPersister persister)protected booleanAbstractSaveEventListener. invokeSaveLifecycle(Object entity, EntityPersister persister, EventSource source)protected booleanDefaultSaveOrUpdateEventListener. invokeUpdateLifecycle(Object entity, EntityPersister persister, EventSource source)protected ObjectDefaultLoadEventListener. loadFromDatasource(LoadEvent event, EntityPersister persister)Performs the process of loading an entity from the configured underlying datasource.protected SerializableAbstractSaveEventListener. performSave(Object entity, Serializable id, EntityPersister persister, boolean useIdentityColumn, Object anything, EventSource source, boolean requiresImmediateIdAccess)Prepares the save call by checking the session caches for a pre-existing entity and performing any lifecycle callbacks.protected SerializableAbstractSaveEventListener. performSaveOrReplicate(Object entity, EntityKey key, EntityPersister persister, boolean useIdentityColumn, Object anything, EventSource source, boolean requiresImmediateIdAccess)Performs all the actual work needed to save an entity (well to get the save moved to the execution queue).protected voidDefaultSaveOrUpdateEventListener. performUpdate(SaveOrUpdateEvent event, Object entity, EntityPersister persister)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, Serializable id, EntityPersister persister)Associates a given entity (either transient or associated with another session) to the given session.booleanPostDeleteEventListenerStandardImpl. requiresPostCommitHanding(EntityPersister persister)booleanPostInsertEventListenerStandardImpl. requiresPostCommitHanding(EntityPersister persister)booleanPostUpdateEventListenerStandardImpl. requiresPostCommitHanding(EntityPersister persister)protected booleanAbstractSaveEventListener. substituteValuesIfNecessary(Object entity, Serializable id, Object[] values, EntityPersister persister, SessionImplementor source)Perform any property value substitution that is necessary (interceptor callback, version initialization...)protected booleanDefaultReplicateEventListener. substituteValuesIfNecessary(Object entity, Serializable id, Object[] values, EntityPersister persister, SessionImplementor source) -
org.hibernate.event.spi中EntityPersister的使用
返回EntityPersister的org.hibernate.event.spi中的方法 修饰符和类型 方法 说明 EntityPersisterResolveNaturalIdEvent. getEntityPersister()EntityPersisterAbstractPreDatabaseOperationEvent. getPersister()The persister for theentity.EntityPersisterPostDeleteEvent. getPersister()EntityPersisterPostInsertEvent. getPersister()EntityPersisterPostLoadEvent. getPersister()EntityPersisterPostUpdateEvent. getPersister()EntityPersisterPreLoadEvent. getPersister()参数类型为EntityPersister的org.hibernate.event.spi中的方法 修饰符和类型 方法 说明 ObjectEventSource. instantiate(EntityPersister persister, Serializable id)Instantiate an entity instance, using either an interceptor, or the given persisterPostLoadEventPostLoadEvent. setPersister(EntityPersister persister)PreLoadEventPreLoadEvent. setPersister(EntityPersister persister)参数类型为EntityPersister的org.hibernate.event.spi中的构造器 构造器 说明 AbstractPreDatabaseOperationEvent(EventSource source, Object entity, Serializable id, EntityPersister persister)Constructs an event containing the pertinent information.PostDeleteEvent(Object entity, Serializable id, Object[] deletedState, EntityPersister persister, EventSource source)PostInsertEvent(Object entity, Serializable id, Object[] state, EntityPersister persister, EventSource source)PostUpdateEvent(Object entity, Serializable id, Object[] state, Object[] oldState, int[] dirtyProperties, EntityPersister persister, EventSource source)PreDeleteEvent(Object entity, Serializable id, Object[] deletedState, EntityPersister persister, EventSource source)Constructs an event containing the pertinent information.PreInsertEvent(Object entity, Serializable id, Object[] state, EntityPersister persister, EventSource source)Constructs an event containing the pertinent information.PreUpdateEvent(Object entity, Serializable 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) -
org.hibernate.hql.internal.ast.tree中EntityPersister的使用
返回EntityPersister的org.hibernate.hql.internal.ast.tree中的方法 修饰符和类型 方法 说明 EntityPersisterFromElement. getEntityPersister()参数类型为EntityPersister的org.hibernate.hql.internal.ast.tree中的方法 修饰符和类型 方法 说明 protected voidFromElement. doInitialize(FromClause fromClause, String tableAlias, String className, String classAlias, EntityPersister persister, EntityType type)voidFromElement. initializeEntity(FromClause fromClause, String className, EntityPersister persister, EntityType type, String classAlias, String tableAlias)参数类型为EntityPersister的org.hibernate.hql.internal.ast.tree中的构造器 构造器 说明 EntityJoinFromElement(HqlSqlWalker walker, FromClause fromClause, EntityPersister entityPersister, JoinType joinType, boolean fetchProperties, String alias) -
org.hibernate.hql.internal.ast.util中EntityPersister的使用
返回EntityPersister的org.hibernate.hql.internal.ast.util中的方法 修饰符和类型 方法 说明 EntityPersisterSessionFactoryHelper. findEntityPersisterByName(String name)Locate the persister by class or entity name.EntityPersisterSessionFactoryHelper. requireClassPersister(String name)Locate the persister by class or entity name, requiring that such a persister exist. -
org.hibernate.id中EntityPersister的使用
org.hibernate.id中EntityPersister的子接口 修饰符和类型 接口 说明 interfacePostInsertIdentityPersisterA persister that may have an identity assigned by execution of a SQL INSERT. -
org.hibernate.internal中EntityPersister的使用
返回EntityPersister的org.hibernate.internal中的方法 修饰符和类型 方法 说明 EntityPersisterSessionImpl. getEntityPersister(String entityName, Object object)EntityPersisterStatelessSessionImpl. getEntityPersister(String entityName, Object object)参数类型为EntityPersister的org.hibernate.internal中的方法 修饰符和类型 方法 说明 EntityKeyAbstractSharedSessionContract. generateEntityKey(Serializable id, EntityPersister persister)ObjectSessionImpl. instantiate(EntityPersister persister, Serializable id)give the interceptor an opportunity to override the default instantiation -
org.hibernate.loader中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.loader中的方法 修饰符和类型 方法 说明 protected ListLoader. loadEntity(SharedSessionContractImplementor session, Object key, Object index, Type keyType, Type indexType, EntityPersister persister)Called by subclasses that load entitiesprotected ListLoader. loadEntity(SharedSessionContractImplementor session, Object id, Type identifierType, Object optionalObject, String optionalEntityName, Serializable optionalIdentifier, EntityPersister persister, LockOptions lockOptions, Boolean readOnly)Called by subclasses that load entitiesListLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions)Called by wrappers that batch load entitiesListLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions, Boolean readOnly)Called by wrappers that batch load entities -
org.hibernate.loader.entity中EntityPersister的使用
返回EntityPersister的org.hibernate.loader.entity中的方法 修饰符和类型 方法 说明 EntityPersisterBatchingEntityLoader. persister()参数类型为EntityPersister的org.hibernate.loader.entity中的方法 修饰符和类型 方法 说明 ObjectCacheEntityLoaderHelper. loadFromSecondLevelCache(LoadEvent event, EntityPersister persister, EntityKey entityKey)Attempts to load the entity from the second-level cache.参数类型为EntityPersister的org.hibernate.loader.entity中的构造器 构造器 说明 BatchingEntityLoader(EntityPersister persister) -
org.hibernate.loader.entity.plan中EntityPersister的使用
返回EntityPersister的org.hibernate.loader.entity.plan中的方法 修饰符和类型 方法 说明 EntityPersisterBatchingEntityLoader. persister()参数类型为EntityPersister的org.hibernate.loader.entity.plan中的方法 修饰符和类型 方法 说明 ListAbstractLoadPlanBasedEntityLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions)Called by wrappers that batch load entitiesListAbstractLoadPlanBasedEntityLoader. loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions, Boolean readOnly)参数类型为EntityPersister的org.hibernate.loader.entity.plan中的构造器 构造器 说明 BatchingEntityLoader(EntityPersister persister) -
org.hibernate.loader.plan.build.internal.returns中EntityPersister的使用
返回EntityPersister的org.hibernate.loader.plan.build.internal.returns中的方法 修饰符和类型 方法 说明 EntityPersisterAbstractEntityReference. getEntityPersister()EntityPersisterBidirectionalEntityReferenceImpl. getEntityPersister() -
org.hibernate.loader.plan.build.internal.spaces中EntityPersister的使用
返回EntityPersister的org.hibernate.loader.plan.build.internal.spaces中的方法 修饰符和类型 方法 说明 EntityPersisterEntityQuerySpaceImpl. getEntityPersister()参数类型为EntityPersister的org.hibernate.loader.plan.build.internal.spaces中的方法 修饰符和类型 方法 说明 ExpandingEntityQuerySpaceQuerySpaceHelper. makeEntityQuerySpace(ExpandingQuerySpace lhsQuerySpace, EntityPersister fetchedPersister, String attributeName, EntityType attributeType, String querySpaceUid, boolean required, boolean shouldIncludeJoin)ExpandingEntityQuerySpaceQuerySpacesImpl. makeEntityQuerySpace(String uid, EntityPersister entityPersister, boolean canJoinsBeRequired)ExpandingEntityQuerySpaceQuerySpacesImpl. makeRootEntityQuerySpace(String uid, EntityPersister entityPersister)参数类型为EntityPersister的org.hibernate.loader.plan.build.internal.spaces中的构造器 构造器 说明 EntityQuerySpaceImpl(EntityPersister persister, String uid, ExpandingQuerySpaces querySpaces, boolean canJoinsBeRequired) -
org.hibernate.loader.plan.build.spi中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.loader.plan.build.spi中的方法 修饰符和类型 方法 说明 static LoadPlanMetamodelDrivenLoadPlanBuilder. buildRootEntityLoadPlan(LoadPlanBuildingAssociationVisitationStrategy strategy, EntityPersister persister)Coordinates building a LoadPlan that defines just a single root entity return (may have fetches).ExpandingEntityQuerySpaceExpandingQuerySpaces. makeEntityQuerySpace(String uid, EntityPersister entityPersister, boolean canJoinsBeRequired)Create anExpandingEntityQuerySpacefor an entity (that is not a "return") with the specified unique ID.ExpandingEntityQuerySpaceExpandingQuerySpaces. makeRootEntityQuerySpace(String uid, EntityPersister entityPersister)Create anExpandingEntityQuerySpacefor an entity "return" with the specified unique ID. -
org.hibernate.loader.plan.exec.internal中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.loader.plan.exec.internal中的方法 修饰符和类型 方法 说明 EntityReferenceAliasesAliasResolutionContextImpl. generateEntityReferenceAliases(String uid, EntityPersister entityPersister)Generate the entity reference aliases for a particularEntityReferenceand register the generated value using the query space UID. -
org.hibernate.loader.plan.exec.process.spi中EntityPersister的使用
返回EntityPersister的org.hibernate.loader.plan.exec.process.spi中的方法 修饰符和类型 方法 说明 EntityPersisterResultSetProcessingContext.EntityKeyResolutionContext. getEntityPersister() -
org.hibernate.loader.plan.spi中EntityPersister的使用
返回EntityPersister的org.hibernate.loader.plan.spi中的方法 修饰符和类型 方法 说明 EntityPersisterEntityQuerySpace. getEntityPersister()Retrieve the EntityPersister that this QuerySpace refers to.EntityPersisterEntityReference. getEntityPersister()Retrieves the EntityPersister describing the entity associated with this Return. -
org.hibernate.metamodel.internal中EntityPersister的使用
返回EntityPersister的org.hibernate.metamodel.internal中的方法 修饰符和类型 方法 说明 EntityPersisterMetamodelImpl. entityPersister(Class entityClass)EntityPersisterMetamodelImpl. entityPersister(String entityName)EntityPersisterMetamodelImpl. locateEntityPersister(Class byClass)EntityPersisterMetamodelImpl. locateEntityPersister(String byName)返回变量类型为EntityPersister的类型的org.hibernate.metamodel.internal中的方法 修饰符和类型 方法 说明 Map<String,EntityPersister>MetamodelImpl. entityPersisters() -
org.hibernate.metamodel.model.domain.spi中EntityPersister的使用
返回EntityPersister的org.hibernate.metamodel.model.domain.spi中的方法 修饰符和类型 方法 说明 static EntityPersisterDomainModelHelper. resolveEntityPersister(EntityTypeDescriptor<?> entityType, SessionFactoryImplementor sessionFactory) -
org.hibernate.metamodel.spi中EntityPersister的使用
返回EntityPersister的org.hibernate.metamodel.spi中的方法 修饰符和类型 方法 说明 EntityPersisterMetamodelImplementor. entityPersister(Class entityClass)Locate the persister for an entity by the entity class.EntityPersisterMetamodelImplementor. entityPersister(String entityName)Locate the persister for an entity by the entity-nameEntityPersisterMetamodelImplementor. locateEntityPersister(Class byClass)Locate an EntityPersister by the entity class.EntityPersisterMetamodelImplementor. locateEntityPersister(String byName)Locate the entity persister by name.返回变量类型为EntityPersister的类型的org.hibernate.metamodel.spi中的方法 修饰符和类型 方法 说明 Map<String,EntityPersister>MetamodelImplementor. entityPersisters()Get all entity persisters as a Map, which entity name its the key and the persister is the value. -
org.hibernate.persister.collection中EntityPersister的使用
返回EntityPersister的org.hibernate.persister.collection中的方法 修饰符和类型 方法 说明 EntityPersisterAbstractCollectionPersister. getElementPersister()EntityPersisterQueryableCollection. getElementPersister()Get the persister of the element class, if this is a collection of entities (optional operation).EntityPersisterAbstractCollectionPersister. getOwnerEntityPersister()EntityPersisterCollectionPersister. getOwnerEntityPersister()Get the persister of the entity that "owns" this collection -
org.hibernate.persister.entity中EntityPersister的使用
org.hibernate.persister.entity中EntityPersister的子接口 修饰符和类型 接口 说明 interfaceLoadableImplemented by a EntityPersister that may be loaded using Loader.interfaceLockableContract for things that can be locked via aLockingStrategy.interfaceOuterJoinLoadableA EntityPersister that may be loaded by outer join using the OuterJoinLoader hierarchy and may be an element of a one-to-many association.interfaceQueryableExtends the generic EntityPersister contract to add operations required by the Hibernate Query LanguageinterfaceSQLLoadableA class persister that supports queries expressed in the platform native SQL dialectinterfaceUniqueKeyLoadable实现EntityPersister的org.hibernate.persister.entity中的类 修饰符和类型 类 说明 classAbstractEntityPersisterBasic functionality for persisting an entity via JDBC through either generated or custom SQLclassJoinedSubclassEntityPersisterAn EntityPersister implementing the normalized "table-per-subclass" mapping strategyclassSingleTableEntityPersisterThe default implementation of the EntityPersister interface.classUnionSubclassEntityPersisterImplementation of the "table-per-concrete-class" or "roll-down" mapping strategy for an entity and its inheritance hierarchy.返回EntityPersister的org.hibernate.persister.entity中的方法 修饰符和类型 方法 说明 EntityPersisterAbstractEntityPersister. getEntityPersister()EntityPersisterAbstractEntityPersister. getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory)EntityPersisterEntityPersister. getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory)A request has already identified the entity-name of this persister as the mapping for the given instance.参数类型为EntityPersister的org.hibernate.persister.entity中的构造器 构造器 说明 NamedQueryLoader(String queryName, EntityPersister persister)Constructs the NamedQueryLoader -
org.hibernate.persister.internal中EntityPersister的使用
返回EntityPersister的org.hibernate.persister.internal中的方法 修饰符和类型 方法 说明 EntityPersisterPersisterFactoryImpl. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext creationContext)返回变量类型为EntityPersister的类型的org.hibernate.persister.internal中的方法 修饰符和类型 方法 说明 Class<? extends EntityPersister>StandardPersisterClassResolver. getEntityPersisterClass(PersistentClass metadata)Class<? extends EntityPersister>StandardPersisterClassResolver. joinedSubclassEntityPersister()Class<? extends EntityPersister>StandardPersisterClassResolver. singleTableEntityPersister()Class<? extends EntityPersister>StandardPersisterClassResolver. unionSubclassEntityPersister() -
org.hibernate.persister.spi中EntityPersister的使用
返回EntityPersister的org.hibernate.persister.spi中的方法 修饰符和类型 方法 说明 EntityPersisterPersisterFactory. createEntityPersister(PersistentClass entityBinding, EntityDataAccess entityCacheAccessStrategy, NaturalIdDataAccess naturalIdCacheAccessStrategy, PersisterCreationContext creationContext)Create an entity persister instance.返回变量类型为EntityPersister的类型的org.hibernate.persister.spi中的方法 修饰符和类型 方法 说明 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. -
org.hibernate.persister.walking.internal中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.persister.walking.internal中的方法 修饰符和类型 方法 说明 static FetchStyleFetchStrategyHelper. determineFetchStyleByProfile(LoadQueryInfluencers loadQueryInfluencers, EntityPersister persister, PropertyPath path, int propertyNumber)Determine the fetch-style (if one) explicitly set for this association via fetch profiles. -
org.hibernate.persister.walking.spi中EntityPersister的使用
返回EntityPersister的org.hibernate.persister.walking.spi中的方法 修饰符和类型 方法 说明 EntityPersisterEntityDefinition. getEntityPersister()参数类型为EntityPersister的org.hibernate.persister.walking.spi中的方法 修饰符和类型 方法 说明 static voidMetamodelGraphWalker. visitEntity(AssociationVisitationStrategy strategy, EntityPersister persister)Entry point into walking the model graph of an entity according to its defined metamodel. -
org.hibernate.pretty中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.pretty中的方法 修饰符和类型 方法 说明 static StringMessageHelper. infoString(EntityPersister persister)Generate an info message string relating to given entity persister.static StringMessageHelper. infoString(EntityPersister persister, Serializable[] ids, SessionFactoryImplementor factory)Generate an info message string relating to a series of entities.static StringMessageHelper. infoString(EntityPersister persister, Object id, SessionFactoryImplementor factory)Generate an info message string relating to a particular entity.static StringMessageHelper. infoString(EntityPersister persister, Object id, Type identifierType, SessionFactoryImplementor factory)Generate an info message string relating to a particular entity,. -
org.hibernate.procedure.internal中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.procedure.internal中的方法 修饰符和类型 方法 说明 protected voidProcedureCallImpl. addSynchronizedQuerySpaces(EntityPersister persister) -
org.hibernate.stat.internal中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.stat.internal中的方法 修饰符和类型 方法 说明 NavigableRoleStatsHelper. getRootEntityRole(EntityPersister entityDescriptor) -
org.hibernate.tuple中EntityPersister的使用
参数类型为EntityPersister的org.hibernate.tuple中的方法 修饰符和类型 方法 说明 static NonIdentifierAttributePropertyFactory. 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 VersionPropertyPropertyFactory. buildVersionProperty(EntityPersister persister, SessionFactoryImplementor sessionFactory, int attributeNumber, Property property, boolean lazyAvailable)Generates a VersionProperty representation for an entity mapping given its version mapping Property. -
org.hibernate.tuple.component中EntityPersister的使用
返回EntityPersister的org.hibernate.tuple.component中的方法 修饰符和类型 方法 说明 protected abstract EntityPersisterAbstractCompositionAttribute. locateOwningPersister()protected EntityPersisterCompositionBasedCompositionAttribute. locateOwningPersister() -
org.hibernate.tuple.entity中EntityPersister的使用
返回EntityPersister的org.hibernate.tuple.entity中的方法 修饰符和类型 方法 说明 EntityPersisterAbstractEntityBasedAttribute. getSource()protected EntityPersisterEntityBasedCompositionAttribute. locateOwningPersister() -
org.hibernate.type中EntityPersister的使用
返回EntityPersister的org.hibernate.type中的方法 修饰符和类型 方法 说明 protected EntityPersisterEntityType. getAssociatedEntityPersister(SessionFactoryImplementor factory)
-