Package | Description |
---|---|
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 cached
entity and
collection data. |
org.hibernate.cache.spi.entry |
This package defines formats for disassembled state kept in the second level cache.
|
org.hibernate.cache.spi.support |
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 application
|
org.hibernate.engine.spi | |
org.hibernate.envers.event.spi | |
org.hibernate.envers.internal.synchronization.work | |
org.hibernate.event.internal |
This package defines a default set of event listeners that
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 loaders
|
org.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 LoadPlan
|
org.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.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.search.event.impl | |
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.
|
Modifier and Type | Method and Description |
---|---|
EntityPersister |
CustomEntityDirtinessStrategy.AttributeInformation.getContainingPersister()
Get a reference to the persister for the entity containing this attribute.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CustomEntityDirtinessStrategy.canDirtyCheck(Object entity,
EntityPersister persister,
Session session)
Is this strategy capable of telling whether the given entity is dirty? A return of
true means that
CustomEntityDirtinessStrategy.isDirty(java.lang.Object, org.hibernate.persister.entity.EntityPersister, org.hibernate.Session) will be called next as the definitive means to determine whether the entity is dirty. |
void |
CustomEntityDirtinessStrategy.findDirty(Object entity,
EntityPersister persister,
Session session,
CustomEntityDirtinessStrategy.DirtyCheckContext dirtyCheckContext)
Callback used to hook into Hibernate algorithm for determination of which attributes have changed.
|
boolean |
CustomEntityDirtinessStrategy.isDirty(Object entity,
EntityPersister persister,
Session session)
The callback used by Hibernate to determine if the given entity is dirty.
|
void |
CustomEntityDirtinessStrategy.resetDirty(Object entity,
EntityPersister persister,
Session session)
Callback used by Hibernate to signal that the entity dirty flag should be cleared.
|
Modifier and Type | Method and Description |
---|---|
EntityPersister |
EntityAction.getPersister()
entity persister accessor
|
Constructor and Description |
---|
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 EntityIdentityInsertAction
|
EntityInsertAction(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 EntityUpdateAction
|
OrphanRemovalAction(Serializable id,
Object[] state,
Object version,
Object instance,
EntityPersister persister,
boolean isCascadeDeleteEnabled,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultCustomEntityDirtinessStrategy.canDirtyCheck(Object entity,
EntityPersister persister,
Session session) |
void |
DefaultCustomEntityDirtinessStrategy.findDirty(Object entity,
EntityPersister persister,
Session session,
CustomEntityDirtinessStrategy.DirtyCheckContext dirtyCheckContext) |
boolean |
DefaultCustomEntityDirtinessStrategy.isDirty(Object entity,
EntityPersister persister,
Session session) |
void |
DefaultCustomEntityDirtinessStrategy.resetDirty(Object entity,
EntityPersister persister,
Session session) |
Modifier and Type | Method and Description |
---|---|
Object |
DefaultCacheKeysFactory.createEntityKey(Object id,
EntityPersister persister,
SessionFactoryImplementor factory,
String tenantIdentifier) |
Object |
SimpleCacheKeysFactory.createEntityKey(Object id,
EntityPersister persister,
SessionFactoryImplementor factory,
String tenantIdentifier) |
Object |
DefaultCacheKeysFactory.createNaturalIdKey(Object[] naturalIdValues,
EntityPersister persister,
SharedSessionContractImplementor session) |
Object |
SimpleCacheKeysFactory.createNaturalIdKey(Object[] naturalIdValues,
EntityPersister persister,
SharedSessionContractImplementor session) |
protected void |
EnabledCaching.evictEntityData(EntityPersister entityDescriptor) |
boolean |
CollectionCacheInvalidator.requiresPostCommitHanding(EntityPersister persister) |
static Object |
DefaultCacheKeysFactory.staticCreateEntityKey(Object id,
EntityPersister persister,
SessionFactoryImplementor factory,
String tenantIdentifier) |
static Object |
DefaultCacheKeysFactory.staticCreateNaturalIdKey(Object[] naturalIdValues,
EntityPersister persister,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
Object |
CacheKeysFactory.createEntityKey(Object id,
EntityPersister persister,
SessionFactoryImplementor factory,
String tenantIdentifier) |
Object |
CacheKeysFactory.createNaturalIdKey(Object[] naturalIdValues,
EntityPersister persister,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
Object |
NaturalIdDataAccess.generateCacheKey(Object[] naturalIdValues,
EntityPersister rootEntityDescriptor,
SharedSessionContractImplementor session)
To create instances of NaturalIdCacheKey for this region, Hibernate will invoke this method
exclusively so that generated implementations can generate optimised keys.
|
Object |
EntityDataAccess.generateCacheKey(Object id,
EntityPersister rootEntityDescriptor,
SessionFactoryImplementor factory,
String tenantIdentifier)
To create instances of keys for this region, Hibernate will invoke this method
exclusively so that generated implementations can generate optimised keys.
|
Modifier and Type | Method and Description |
---|---|
EntityPersister |
ReferenceCacheEntryImpl.getSubclassPersister() |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
ReferenceCacheEntryImpl(Object reference,
EntityPersister subclassPersister)
Constructs a ReferenceCacheEntryImpl
|
StandardCacheEntryImpl(Object[] state,
EntityPersister persister,
Object version,
SharedSessionContractImplementor session,
Object owner)
Constructs a StandardCacheEntryImpl
|
StructuredCacheEntry(EntityPersister persister)
Constructs a StructuredCacheEntry strategy
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractNaturalIdDataAccess.generateCacheKey(Object[] naturalIdValues,
EntityPersister persister,
SharedSessionContractImplementor session) |
Object |
NaturalIdReadWriteAccess.generateCacheKey(Object[] naturalIdValues,
EntityPersister rootEntityDescriptor,
SharedSessionContractImplementor session) |
Object |
AbstractEntityDataAccess.generateCacheKey(Object id,
EntityPersister rootEntityDescriptor,
SessionFactoryImplementor factory,
String tenantIdentifier) |
Object |
EntityReadWriteAccess.generateCacheKey(Object id,
EntityPersister rootEntityDescriptor,
SessionFactoryImplementor factory,
String tenantIdentifier) |
Constructor and Description |
---|
HibernateTraversableResolver(EntityPersister persister,
ConcurrentHashMap<EntityPersister,Set<String>> associationsPerEntityPersister,
SessionFactoryImplementor factory) |
Constructor and Description |
---|
HibernateTraversableResolver(EntityPersister persister,
ConcurrentHashMap<EntityPersister,Set<String>> associationsPerEntityPersister,
SessionFactoryImplementor factory) |
Modifier and Type | Field and Description |
---|---|
protected EntityPersister |
AbstractEntityEntry.persister |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
AbstractEntityEntry.getPersister() |
protected EntityPersister |
NaturalIdXrefDelegate.locatePersisterForKey(EntityPersister persister)
It is only valid to define natural ids at the root of an entity hierarchy.
|
Modifier and Type | Method and Description |
---|---|
EntityEntry |
StatefulPersistenceContext.addEntity(Object entity,
Status status,
Object[] loadedState,
EntityKey entityKey,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement) |
EntityEntry |
StatefulPersistenceContext.addEntry(Object entity,
Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement) |
static void |
TwoPhaseLoad.addUninitializedCachedEntity(EntityKey key,
Object object,
EntityPersister persister,
LockMode lockMode,
Object version,
SharedSessionContractImplementor session)
Same as
TwoPhaseLoad.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 cache |
static void |
TwoPhaseLoad.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.
|
boolean |
NaturalIdXrefDelegate.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 void |
Cascade.cascade(CascadingAction action,
CascadePoint cascadePoint,
EventSource eventSource,
EntityPersister persister,
Object parent)
Cascade an action from the parent entity instance to all its children.
|
static void |
Cascade.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.
|
void |
Nullability.checkNullability(Object[] values,
EntityPersister persister,
boolean isUpdate)
Check nullability of the class persister properties
|
void |
Nullability.checkNullability(Object[] values,
EntityPersister persister,
Nullability.NullabilityCheckType checkType) |
EntityEntry |
ImmutableEntityEntryFactory.createEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext) |
EntityEntry |
MutableEntityEntryFactory.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.
|
Serializable |
NaturalIdXrefDelegate.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 row
Get the current state of the entity as known to the underlying database, or null if there is no
corresponding row
|
Object[] |
StatefulPersistenceContext.getNaturalIdSnapshot(Serializable id,
EntityPersister persister) |
static Object |
Versioning.getVersion(Object[] fields,
EntityPersister persister)
Extract the optimistic locking value out of the entity state snapshot.
|
protected EntityPersister |
NaturalIdXrefDelegate.locatePersisterForKey(EntityPersister persister)
It is only valid to define natural ids at the root of an entity hierarchy.
|
Object |
StatefulPersistenceContext.narrowProxy(Object proxy,
EntityPersister persister,
EntityKey key,
Object object) |
static void |
TwoPhaseLoad.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.
|
Object |
StatefulPersistenceContext.proxyFor(EntityPersister persister,
EntityKey key,
Object impl) |
void |
StatefulPersistenceContext.registerInsertedKey(EntityPersister persister,
Serializable id) |
static void |
BatchFetchQueueHelper.removeBatchLoadableEntityKey(Serializable id,
EntityPersister persister,
SharedSessionContractImplementor session)
Remove the entity key with the specified
id and persister from
the batch loadable entities BatchFetchQueue . |
Object[] |
NaturalIdXrefDelegate.removeNaturalIdCrossReference(EntityPersister persister,
Serializable pk,
Object[] naturalIdValues)
Handle removing cross reference entries for the given natural-id/pk combo
|
static void |
BatchFetchQueueHelper.removeNotFoundBatchLoadableEntityKeys(Serializable[] ids,
List<?> results,
EntityPersister persister,
SharedSessionContractImplementor session)
Finds the IDs for entities that were not found when the batch was loaded, and removes
the corresponding entity keys from the
BatchFetchQueue . |
boolean |
NaturalIdXrefDelegate.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 void |
Versioning.setVersion(Object[] fields,
Object version,
EntityPersister persister)
Inject the optimistic locking value into the entity state snapshot.
|
void |
NaturalIdXrefDelegate.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 void |
NaturalIdXrefDelegate.validateNaturalId(EntityPersister persister,
Object[] naturalIdValues)
Invariant validate of the natural id.
|
boolean |
StatefulPersistenceContext.wasInsertedDuringTransaction(EntityPersister persister,
Serializable id) |
Constructor and Description |
---|
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)
Deprecated.
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
Use the other constructor!
|
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)
Deprecated.
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
Use the other constructor!
|
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)
Deprecated.
the tenantId and entityMode parameters where removed: this constructor accepts but ignores them.
Use the other constructor!
|
Nullifier(Object self,
boolean isDelete,
boolean isEarlyInsert,
SharedSessionContractImplementor session,
EntityPersister persister)
Constructs a Nullifier
|
Modifier and Type | Method and Description |
---|---|
EntityPersister |
Association.getOwner() |
Constructor and Description |
---|
Association(EntityPersister owner,
String associationPath)
Constructs a association defining what is to be fetched.
|
Modifier and Type | Method and Description |
---|---|
EntityPersister |
SessionFactoryDelegatingImpl.getEntityPersister(String entityName) |
default EntityPersister |
SessionFactoryImplementor.getEntityPersister(String entityName)
Deprecated.
(since 5.2) Use
MetamodelImplementor.entityPersister(Class) instead. |
EntityPersister |
SessionDelegatorBaseImpl.getEntityPersister(String entityName,
Object object) |
EntityPersister |
SharedSessionContractImplementor.getEntityPersister(String entityName,
Object object)
Get the EntityPersister for any instance
|
EntityPersister |
EntityEntry.getPersister() |
EntityPersister |
EntityKey.getPersister() |
EntityPersister |
SessionFactoryDelegatingImpl.locateEntityPersister(Class byClass) |
default EntityPersister |
SessionFactoryImplementor.locateEntityPersister(Class byClass)
Deprecated.
(since 5.2) Use
MetamodelImplementor.locateEntityPersister(Class) instead. |
EntityPersister |
SessionFactoryDelegatingImpl.locateEntityPersister(String byName) |
default EntityPersister |
SessionFactoryImplementor.locateEntityPersister(String byName)
Deprecated.
(since 5.2) Use
MetamodelImplementor.locateEntityPersister(String) instead. |
Modifier and Type | Method and Description |
---|---|
Map<String,EntityPersister> |
SessionFactoryDelegatingImpl.getEntityPersisters() |
default Map<String,EntityPersister> |
SessionFactoryImplementor.getEntityPersisters()
Deprecated.
(since 5.2) Use
MetamodelImplementor.entityPersisters() instead. |
Modifier and Type | Method and Description |
---|---|
EntityEntry |
PersistenceContext.addEntity(Object entity,
Status status,
Object[] loadedState,
EntityKey entityKey,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement)
Adds an entity to the internal caches.
|
EntityEntry |
PersistenceContext.addEntry(Object entity,
Status status,
Object[] loadedState,
Object rowId,
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.
|
void |
PersistenceContext.NaturalIdHelper.cacheNaturalIdCrossReferenceFromLoad(EntityPersister persister,
Serializable id,
Object[] naturalIdValues)
Performs processing related to creating natural-id cross-reference entries on load.
|
EntityEntry |
EntityEntryFactory.createEntityEntry(Status status,
Object[] loadedState,
Object rowId,
Serializable id,
Object version,
LockMode lockMode,
boolean existsInDatabase,
EntityPersister persister,
boolean disableVersionIncrement,
PersistenceContext persistenceContext)
Creates
EntityEntry . |
Object[] |
PersistenceContext.NaturalIdHelper.extractNaturalIdValues(Object[] state,
EntityPersister persister)
Given an array of "full entity state", extract the portions that represent the natural id
|
Object[] |
PersistenceContext.NaturalIdHelper.extractNaturalIdValues(Object entity,
EntityPersister persister)
Given an entity instance, extract the values that represent the natural id
|
Object[] |
PersistenceContext.NaturalIdHelper.findCachedNaturalId(EntityPersister persister,
Serializable pk)
Given a persister and primary key, find the corresponding cross-referenced natural id values.
|
Serializable |
PersistenceContext.NaturalIdHelper.findCachedNaturalIdResolution(EntityPersister persister,
Object[] naturalIdValues)
Given a persister and natural-id values, find the corresponding cross-referenced primary key.
|
EntityKey |
SessionDelegatorBaseImpl.generateEntityKey(Serializable id,
EntityPersister persister) |
EntityKey |
SharedSessionContractImplementor.generateEntityKey(Serializable id,
EntityPersister persister)
Hide the changing requirements of entity key creation
|
Collection<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 row
|
Serializable[] |
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.
|
void |
PersistenceContext.NaturalIdHelper.handleEviction(Object object,
EntityPersister persister,
Serializable identifier)
Called on
Session.evict(java.lang.Object) to give a chance to clean up natural-id cross refs. |
void |
PersistenceContext.NaturalIdHelper.handleSynchronization(EntityPersister persister,
Serializable pk,
Object entity)
Part of the "load synchronization process".
|
Object |
SessionDelegatorBaseImpl.instantiate(EntityPersister persister,
Serializable id) |
Object |
SessionImplementor.instantiate(EntityPersister persister,
Serializable id) |
void |
PersistenceContext.NaturalIdHelper.manageLocalNaturalIdCrossReference(EntityPersister persister,
Serializable id,
Object[] state,
Object[] previousState,
CachedNaturalIdValueSource source)
Creates necessary local cross-reference entries.
|
void |
PersistenceContext.NaturalIdHelper.manageSharedNaturalIdCrossReference(EntityPersister persister,
Serializable id,
Object[] state,
Object[] previousState,
CachedNaturalIdValueSource source)
Creates necessary shared (second level cache) cross-reference entries.
|
Object |
PersistenceContext.narrowProxy(Object proxy,
EntityPersister persister,
EntityKey key,
Object object)
If the existing proxy is insufficiently "narrow" (derived), instantiate a new proxy
and overwrite the registration of the old one.
|
void |
CascadingAction.noCascade(EventSource session,
Object parent,
EntityPersister persister,
Type propertyType,
int propertyIndex)
Called (in the case of
CascadingAction.requiresNoCascadeChecking() returning true) to validate
that no cascade on the given property is considered a valid semantic. |
void |
CascadingActions.BaseCascadingAction.noCascade(EventSource session,
Object parent,
EntityPersister persister,
Type propertyType,
int propertyIndex) |
Object |
PersistenceContext.proxyFor(EntityPersister persister,
EntityKey key,
Object impl)
Return the existing proxy associated with the given EntityKey, or the
third argument (the entity associated with the key) if no proxy exists.
|
void |
PersistenceContext.registerInsertedKey(EntityPersister persister,
Serializable id)
Register keys inserted during the current transaction
|
Object[] |
PersistenceContext.NaturalIdHelper.removeLocalNaturalIdCrossReference(EntityPersister persister,
Serializable id,
Object[] state)
Cleans up local cross-reference entries.
|
void |
PersistenceContext.NaturalIdHelper.removeSharedNaturalIdCrossReference(EntityPersister persister,
Serializable id,
Object[] naturalIdValues)
Cleans up local cross-reference entries.
|
boolean |
PersistenceContext.wasInsertedDuringTransaction(EntityPersister persister,
Serializable id)
Allows callers to check to see if the identified entity was inserted during the current transaction.
|
Constructor and Description |
---|
EntityKey(Serializable id,
EntityPersister persister)
Construct a unique identifier for an entity class instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BaseEnversEventListener.generateBidirectionalCollectionChangeWorkUnits(AuditProcess auditProcess,
EntityPersister entityPersister,
String entityName,
Object[] newState,
Object[] oldState,
SessionImplementor session) |
boolean |
EnversPostDeleteEventListenerImpl.requiresPostCommitHanding(EntityPersister persister) |
boolean |
EnversPostInsertEventListenerImpl.requiresPostCommitHanding(EntityPersister persister) |
boolean |
EnversPostUpdateEventListenerImpl.requiresPostCommitHanding(EntityPersister persister) |
Constructor and Description |
---|
AddWorkUnit(SessionImplementor sessionImplementor,
String entityName,
EnversService enversService,
Serializable id,
EntityPersister entityPersister,
Object[] state) |
DelWorkUnit(SessionImplementor sessionImplementor,
String entityName,
EnversService enversService,
Serializable id,
EntityPersister entityPersister,
Object[] state) |
ModWorkUnit(SessionImplementor sessionImplementor,
String entityName,
EnversService enversService,
Serializable id,
EntityPersister entityPersister,
Object[] newState,
Object[] oldState) |
Modifier and Type | Method and Description |
---|---|
protected EntityPersister |
DefaultLoadEventListener.getPersister(LoadEvent event) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultDeleteEventListener.cascadeAfterDelete(EventSource session,
EntityPersister persister,
Object entity,
Set transientEntities) |
protected void |
AbstractSaveEventListener.cascadeAfterSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Handles to calls needed to perform post-save cascades.
|
protected void |
DefaultMergeEventListener.cascadeAfterSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Cascade behavior is redefined by this subclass, disable superclass behavior
|
protected void |
DefaultDeleteEventListener.cascadeBeforeDelete(EventSource session,
EntityPersister persister,
Object entity,
EntityEntry entityEntry,
Set transientEntities) |
protected void |
AbstractSaveEventListener.cascadeBeforeSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Handles the calls needed to perform pre-save cascades for the given entity.
|
protected void |
DefaultMergeEventListener.cascadeBeforeSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Cascade behavior is redefined by this subclass, disable superclass behavior
|
protected void |
DefaultMergeEventListener.cascadeOnMerge(EventSource source,
EntityPersister persister,
Object entity,
Map copyCache)
Perform any cascades needed as part of this copy event.
|
void |
DefaultFlushEntityEventListener.checkId(Object object,
EntityPersister persister,
Serializable id,
SessionImplementor session)
make sure user didn't mangle the id
|
protected void |
DefaultMergeEventListener.copyValues(EntityPersister persister,
Object entity,
Object target,
SessionImplementor source,
Map copyCache) |
protected void |
DefaultMergeEventListener.copyValues(EntityPersister persister,
Object entity,
Object target,
SessionImplementor source,
Map copyCache,
ForeignKeyDirection foreignKeyDirection) |
protected void |
DefaultDeleteEventListener.deleteEntity(EventSource session,
Object entity,
EntityEntry entityEntry,
boolean isCascadeDeleteEnabled,
boolean isOrphanRemovalBeforeUpdates,
EntityPersister persister,
Set transientEntities)
Perform the entity deletion.
|
protected void |
DefaultDeleteEventListener.deleteTransientEntity(EventSource session,
Object entity,
boolean cascadeDeleteEnabled,
EntityPersister persister,
Set transientEntities)
We encountered a delete request on a transient instance.
|
protected void |
DefaultEvictEventListener.doEvict(Object object,
EntityKey key,
EntityPersister persister,
EventSource session) |
protected Serializable |
DefaultSaveOrUpdateEventListener.getUpdateId(Object entity,
EntityPersister persister,
Serializable requestedId,
SessionImplementor session)
Determine the id to use for updating.
|
protected Serializable |
DefaultUpdateEventListener.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 instance
|
protected boolean |
DefaultDeleteEventListener.invokeDeleteLifecycle(EventSource session,
Object entity,
EntityPersister persister) |
protected boolean |
DefaultFlushEntityEventListener.invokeInterceptor(SessionImplementor session,
Object entity,
EntityEntry entry,
Object[] values,
EntityPersister persister) |
protected boolean |
AbstractSaveEventListener.invokeSaveLifecycle(Object entity,
EntityPersister persister,
EventSource source) |
protected boolean |
DefaultSaveOrUpdateEventListener.invokeUpdateLifecycle(Object entity,
EntityPersister persister,
EventSource source) |
protected Object |
DefaultLoadEventListener.loadFromDatasource(LoadEvent event,
EntityPersister persister)
Performs the process of loading an entity from the configured
underlying datasource.
|
protected Serializable |
AbstractSaveEventListener.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 Serializable |
AbstractSaveEventListener.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 void |
DefaultSaveOrUpdateEventListener.performUpdate(SaveOrUpdateEvent event,
Object entity,
EntityPersister persister) |
protected EntityEntry |
AbstractReassociateEventListener.reassociate(AbstractEvent event,
Object object,
Serializable id,
EntityPersister persister)
Associates a given entity (either transient or associated with another session) to
the given session.
|
boolean |
PostDeleteEventListenerStandardImpl.requiresPostCommitHanding(EntityPersister persister) |
boolean |
PostUpdateEventListenerStandardImpl.requiresPostCommitHanding(EntityPersister persister) |
boolean |
PostInsertEventListenerStandardImpl.requiresPostCommitHanding(EntityPersister persister) |
protected boolean |
AbstractSaveEventListener.substituteValuesIfNecessary(Object entity,
Serializable id,
Object[] values,
EntityPersister persister,
SessionImplementor source)
Perform any property value substitution that is necessary
(interceptor callback, version initialization...)
|
protected boolean |
DefaultReplicateEventListener.substituteValuesIfNecessary(Object entity,
Serializable id,
Object[] values,
EntityPersister persister,
SessionImplementor source) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
ResolveNaturalIdEvent.getEntityPersister() |
EntityPersister |
PostDeleteEvent.getPersister() |
EntityPersister |
PostInsertEvent.getPersister() |
EntityPersister |
PostLoadEvent.getPersister() |
EntityPersister |
PostUpdateEvent.getPersister() |
EntityPersister |
PreLoadEvent.getPersister() |
EntityPersister |
AbstractPreDatabaseOperationEvent.getPersister()
The persister for the
entity . |
Modifier and Type | Method and Description |
---|---|
Object |
EventSource.instantiate(EntityPersister persister,
Serializable id)
Instantiate an entity instance, using either an interceptor,
or the given persister
|
PostLoadEvent |
PostLoadEvent.setPersister(EntityPersister persister) |
PreLoadEvent |
PreLoadEvent.setPersister(EntityPersister persister) |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
FromElement.getEntityPersister() |
Modifier and Type | Method and Description |
---|---|
protected void |
FromElement.doInitialize(FromClause fromClause,
String tableAlias,
String className,
String classAlias,
EntityPersister persister,
EntityType type) |
void |
FromElement.initializeEntity(FromClause fromClause,
String className,
EntityPersister persister,
EntityType type,
String classAlias,
String tableAlias) |
Constructor and Description |
---|
EntityJoinFromElement(HqlSqlWalker walker,
FromClause fromClause,
EntityPersister entityPersister,
JoinType joinType,
boolean fetchProperties,
String alias) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
SessionFactoryHelper.findEntityPersisterByName(String name)
Locate the persister by class or entity name.
|
EntityPersister |
SessionFactoryHelper.requireClassPersister(String name)
Locate the persister by class or entity name, requiring that such a persister
exist.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PostInsertIdentityPersister
A persister that may have an identity assigned by execution of
a SQL INSERT.
|
Modifier and Type | Method and Description |
---|---|
EntityPersister |
StatelessSessionImpl.getEntityPersister(String entityName,
Object object) |
EntityPersister |
SessionImpl.getEntityPersister(String entityName,
Object object) |
Modifier and Type | Method and Description |
---|---|
EntityKey |
AbstractSharedSessionContract.generateEntityKey(Serializable id,
EntityPersister persister) |
Object |
SessionImpl.instantiate(EntityPersister persister,
Serializable id)
give the interceptor an opportunity to override the default instantiation
|
Modifier and Type | Method and Description |
---|---|
protected List |
Loader.loadEntity(SharedSessionContractImplementor session,
Object key,
Object index,
Type keyType,
Type indexType,
EntityPersister persister)
Called by subclasses that load entities
|
protected List |
Loader.loadEntity(SharedSessionContractImplementor session,
Object id,
Type identifierType,
Object optionalObject,
String optionalEntityName,
Serializable optionalIdentifier,
EntityPersister persister,
LockOptions lockOptions)
Called by subclasses that load entities
|
List |
Loader.loadEntityBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions)
Called by wrappers that batch load entities
|
Modifier and Type | Method and Description |
---|---|
EntityPersister |
BatchingEntityLoader.persister() |
Constructor and Description |
---|
BatchingEntityLoader(EntityPersister persister) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
BatchingEntityLoader.persister() |
Modifier and Type | Method and Description |
---|---|
List |
AbstractLoadPlanBasedEntityLoader.loadEntityBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions)
Called by wrappers that batch load entities
|
Constructor and Description |
---|
BatchingEntityLoader(EntityPersister persister) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
AbstractEntityReference.getEntityPersister() |
EntityPersister |
BidirectionalEntityReferenceImpl.getEntityPersister() |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
EntityQuerySpaceImpl.getEntityPersister() |
Modifier and Type | Method and Description |
---|---|
ExpandingEntityQuerySpace |
QuerySpaceHelper.makeEntityQuerySpace(ExpandingQuerySpace lhsQuerySpace,
EntityPersister fetchedPersister,
String attributeName,
EntityType attributeType,
String querySpaceUid,
boolean required,
boolean shouldIncludeJoin) |
ExpandingEntityQuerySpace |
QuerySpacesImpl.makeEntityQuerySpace(String uid,
EntityPersister entityPersister,
boolean canJoinsBeRequired) |
ExpandingEntityQuerySpace |
QuerySpacesImpl.makeRootEntityQuerySpace(String uid,
EntityPersister entityPersister) |
Constructor and Description |
---|
EntityQuerySpaceImpl(EntityPersister persister,
String uid,
ExpandingQuerySpaces querySpaces,
boolean canJoinsBeRequired) |
Modifier and Type | Method and 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(String uid,
EntityPersister entityPersister,
boolean canJoinsBeRequired)
Create an
ExpandingEntityQuerySpace for an entity (that is not a "return")
with the specified unique ID. |
ExpandingEntityQuerySpace |
ExpandingQuerySpaces.makeRootEntityQuerySpace(String uid,
EntityPersister entityPersister)
Create an
ExpandingEntityQuerySpace for an entity "return" with the
specified unique ID. |
Modifier and Type | Method and Description |
---|---|
EntityReferenceAliases |
AliasResolutionContextImpl.generateEntityReferenceAliases(String uid,
EntityPersister entityPersister)
Generate the entity reference aliases for a particular
EntityReference
and register the generated value using the query space UID. |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
ResultSetProcessingContext.EntityKeyResolutionContext.getEntityPersister() |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
EntityPersister |
MetamodelImpl.entityPersister(Class entityClass) |
EntityPersister |
MetamodelImpl.entityPersister(String entityName) |
EntityPersister |
MetamodelImpl.locateEntityPersister(Class byClass) |
EntityPersister |
MetamodelImpl.locateEntityPersister(String byName) |
Modifier and Type | Method and Description |
---|---|
Map<String,EntityPersister> |
MetamodelImpl.entityPersisters() |
Constructor and Description |
---|
EntityPersisterAttributeSource(EntityPersister entityPersister) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
MetamodelImplementor.entityPersister(Class entityClass)
Locate the persister for an entity by the entity class.
|
EntityPersister |
MetamodelImplementor.entityPersister(String entityName)
Locate the persister for an entity by the entity-name
|
EntityPersister |
MetamodelImplementor.locateEntityPersister(Class byClass)
Locate an EntityPersister by the entity class.
|
EntityPersister |
MetamodelImplementor.locateEntityPersister(String byName)
Locate the entity persister by name.
|
Modifier and Type | Method and Description |
---|---|
Map<String,EntityPersister> |
MetamodelImplementor.entityPersisters()
Get all entity persisters as a Map, which entity name its the key and the persister is the value.
|
Modifier and Type | Method and 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
|
Modifier and Type | Interface and Description |
---|---|
interface |
Loadable
Implemented by a EntityPersister that may be loaded
using Loader.
|
interface |
Lockable
Contract for things that can be locked via a
LockingStrategy . |
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 Language
|
interface |
SQLLoadable
A class persister that supports queries expressed in the
platform native SQL dialect
|
interface |
UniqueKeyLoadable |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEntityPersister
Basic functionality for persisting an entity via JDBC
through either generated or custom SQL
|
class |
JoinedSubclassEntityPersister
An EntityPersister implementing the normalized "table-per-subclass"
mapping strategy
|
class |
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.
|
Modifier and Type | Method and Description |
---|---|
EntityPersister |
AbstractEntityPersister.getEntityPersister() |
EntityPersister |
AbstractEntityPersister.getSubclassEntityPersister(Object instance,
SessionFactoryImplementor factory) |
EntityPersister |
EntityPersister.getSubclassEntityPersister(Object instance,
SessionFactoryImplementor factory)
A request has already identified the entity-name of this persister as the mapping for the given instance.
|
Constructor and Description |
---|
NamedQueryLoader(String queryName,
EntityPersister persister)
Constructs the NamedQueryLoader
|
Modifier and Type | Method and Description |
---|---|
EntityPersister |
PersisterFactoryImpl.createEntityPersister(PersistentClass entityBinding,
EntityDataAccess entityCacheAccessStrategy,
NaturalIdDataAccess naturalIdCacheAccessStrategy,
PersisterCreationContext creationContext) |
Modifier and Type | Method and Description |
---|---|
Class<? extends EntityPersister> |
StandardPersisterClassResolver.getEntityPersisterClass(PersistentClass metadata) |
Class<? extends EntityPersister> |
StandardPersisterClassResolver.joinedSubclassEntityPersister() |
Class<? extends EntityPersister> |
StandardPersisterClassResolver.singleTableEntityPersister() |
Class<? extends EntityPersister> |
StandardPersisterClassResolver.unionSubclassEntityPersister() |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
PersisterFactory.createEntityPersister(PersistentClass entityBinding,
EntityDataAccess entityCacheAccessStrategy,
NaturalIdDataAccess naturalIdCacheAccessStrategy,
PersisterCreationContext creationContext)
Create an entity persister instance.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends EntityPersister> |
PersisterClassResolver.getEntityPersisterClass(PersistentClass metadata)
Returns the entity persister class for a given entityName or null
if the entity persister class should be the default.
|
Modifier and Type | Method and Description |
---|---|
static FetchStyle |
FetchStrategyHelper.determineFetchStyleByProfile(LoadQueryInfluencers loadQueryInfluencers,
EntityPersister persister,
PropertyPath path,
int propertyNumber)
Determine the fetch-style (if one) explicitly set for this association via fetch profiles.
|
Modifier and Type | Method and Description |
---|---|
EntityPersister |
EntityDefinition.getEntityPersister() |
Modifier and Type | Method and Description |
---|---|
static void |
MetamodelGraphWalker.visitEntity(AssociationVisitationStrategy strategy,
EntityPersister persister)
Entry point into walking the model graph of an entity according to its defined metamodel.
|
Modifier and Type | Method and Description |
---|---|
static String |
MessageHelper.infoString(EntityPersister persister)
Generate an info message string relating to given entity persister.
|
static String |
MessageHelper.infoString(EntityPersister persister,
Object id,
SessionFactoryImplementor factory)
Generate an info message string relating to a particular entity.
|
static String |
MessageHelper.infoString(EntityPersister persister,
Object id,
Type identifierType,
SessionFactoryImplementor factory)
Generate an info message string relating to a particular entity,.
|
static String |
MessageHelper.infoString(EntityPersister persister,
Serializable[] ids,
SessionFactoryImplementor factory)
Generate an info message string relating to a series of entities.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ProcedureCallImpl.addSynchronizedQuerySpaces(EntityPersister persister) |
Modifier and Type | Method and Description |
---|---|
boolean |
FullTextIndexEventListener.requiresPostCommitHanding(EntityPersister persister)
Required since Hibernate ORM 4.3
|
Modifier and Type | Method and Description |
---|---|
NavigableRole |
StatsHelper.getRootEntityRole(EntityPersister entityDescriptor) |
Modifier and Type | Method and 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 entity
|
static 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.
|
Modifier and Type | Method and Description |
---|---|
protected abstract EntityPersister |
AbstractCompositionAttribute.locateOwningPersister() |
protected EntityPersister |
CompositionBasedCompositionAttribute.locateOwningPersister() |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
AbstractEntityBasedAttribute.getSource() |
protected EntityPersister |
EntityBasedCompositionAttribute.locateOwningPersister() |
Modifier and Type | Method and Description |
---|---|
protected EntityPersister |
EntityType.getAssociatedEntityPersister(SessionFactoryImplementor factory) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.