Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.hibernate.persister.entity.EntityPersister

Packages that use EntityPersister
org.hibernate.action | This package defines "actions" that are scheduled for asycnchronous execution by the event listeners.
org.hibernate.cache.entry | This package defines formats for disassembled state kept in the second level cache.
org.hibernate.engine | This package contains classes that are "shared" by other packages, and implementations of some key algorithms.
org.hibernate.event | This package defines an event framework for Hibernate.
org.hibernate.event.def | This package defines a default set of event listeners that implements the default behaviors of Hibernate.
org.hibernate.hql.ast.tree |
org.hibernate.hql.ast.util |
org.hibernate.id | This package contains internal implementation classes for the main API interfaces.
org.hibernate.impl | This package contains implementations of the central Hibernate APIs, especially the Hibernate session.
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.persister | A persister defines a mapping strategy for a collection or entity.
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.pretty | Classes for pretty printing things for exception and log messages.

Uses of EntityPersister in org.hibernate.action

Methods in org.hibernate.action that return EntityPersister
`EntityPersister` | `EntityAction.getPersister()` entity persister accessor

Constructors in org.hibernate.action with parameters of type EntityPersister
`EntityAction(SessionImplementor 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)`
`EntityIdentityInsertAction(Object[] state, Object instance, EntityPersister persister, SessionImplementor session, boolean isDelayed)`
`EntityInsertAction(Serializable id, Object[] state, Object instance, Object version, EntityPersister persister, SessionImplementor session)`
`EntityUpdateAction(Serializable id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, EntityPersister persister, SessionImplementor session)`

Uses of EntityPersister in org.hibernate.cache.entry

Methods in org.hibernate.cache.entry with parameters of type EntityPersister
`Object[]` | `CacheEntry.assemble(Object instance, Serializable id, EntityPersister persister, Interceptor interceptor, EventSource session)`

Constructors in org.hibernate.cache.entry with parameters of type EntityPersister
`CacheEntry(Object[] state, EntityPersister persister, boolean unfetched, Object version, SessionImplementor session, Object owner)`
`StructuredCacheEntry(EntityPersister persister)`

Uses of EntityPersister in org.hibernate.engine

Methods in org.hibernate.engine that return EntityPersister
`EntityPersister` | `SessionFactoryImplementor.getEntityPersister(String entityName)` Get the persister for the named entity
`EntityPersister` | `SessionImplementor.getEntityPersister(String entityName, Object object)` Get the `EntityPersister` for any instance
`EntityPersister` | `EntityEntry.getPersister()`

Methods in org.hibernate.engine with parameters of type EntityPersister
`EntityEntry` | `PersistenceContext.addEntity(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, boolean lazyPropertiesAreUnfetched)` Adds an entity to the internal caches.
`EntityEntry` | `StatefulPersistenceContext.addEntity(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, boolean lazyPropertiesAreUnfetched)` 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, boolean lazyPropertiesAreUnfetched)` Generates an appropriate EntityEntry instance and adds it to the event source's internal caches.
`EntityEntry` | `StatefulPersistenceContext.addEntry(Object entity, Status status, Object[] loadedState, Object rowId, Serializable id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, boolean lazyPropertiesAreUnfetched)` Generates an appropriate EntityEntry instance and adds it to the event source's internal caches.
`static void` | `TwoPhaseLoad.addUninitializedCachedEntity(EntityKey key, Object object, EntityPersister persister, LockMode lockMode, boolean lazyPropertiesAreUnfetched, Object version, SessionImplementor session)`
`static void` | `TwoPhaseLoad.addUninitializedEntity(EntityKey key, Object object, EntityPersister persister, LockMode lockMode, boolean lazyPropertiesAreUnfetched, SessionImplementor session)` Add an uninitialized instance of an entity class, as a placeholder to ensure object identity.
`void` | `Cascade.cascade(EntityPersister persister, Object parent)` Cascade an action from the parent entity instance to all its children.
`void` | `Cascade.cascade(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
`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
`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
`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.
`Object[]` | `StatefulPersistenceContext.getNaturalIdSnapshot(Serializable id, EntityPersister persister)`
`static Object` | `Versioning.getVersion(Object[] fields, EntityPersister persister)` Extract the optimisitc locking value out of the entity state snapshot.
`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.
`Object` | `StatefulPersistenceContext.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 child, Object parent, EntityPersister persister, 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.
`static void` | `TwoPhaseLoad.postHydrate(EntityPersister persister, Serializable id, Object[] values, Object rowId, Object object, LockMode lockMode, boolean lazyPropertiesAreUnfetched, SessionImplementor session)` Register the "hydrated" state of an entity instance, after the first step of 2-phase loading.
`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.
`Object` | `StatefulPersistenceContext.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.
`static void` | `Versioning.setVersion(Object[] fields, Object version, EntityPersister persister)` Inject the optimisitc locking value into the entity state snapshot.

Constructors in org.hibernate.engine with parameters of type EntityPersister
`EntityKey(Serializable id, EntityPersister persister, EntityMode entityMode)` Construct a unique identifier for an entity class instance

Uses of EntityPersister in org.hibernate.event

Methods in org.hibernate.event that return EntityPersister
`EntityPersister` | `PostInsertEvent.getPersister()`
`EntityPersister` | `PreLoadEvent.getPersister()`
`EntityPersister` | `PreDeleteEvent.getPersister()`
`EntityPersister` | `PostLoadEvent.getPersister()`
`EntityPersister` | `PreInsertEvent.getPersister()`
`EntityPersister` | `PostUpdateEvent.getPersister()`
`EntityPersister` | `PreUpdateEvent.getPersister()`
`EntityPersister` | `PostDeleteEvent.getPersister()`

Methods in org.hibernate.event with parameters of type EntityPersister
`Object` | `EventSource.instantiate(EntityPersister persister, Serializable id)` Instantiate an entity instance, using either an interceptor, or the given persister
`PreLoadEvent` | `PreLoadEvent.setPersister(EntityPersister persister)`
`PostLoadEvent` | `PostLoadEvent.setPersister(EntityPersister persister)`

Constructors in org.hibernate.event with parameters of type EntityPersister
`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, EntityPersister persister, EventSource source)`
`PreDeleteEvent(Object entity, Serializable id, Object[] deletedState, EntityPersister persister)`
`PreInsertEvent(Object entity, Serializable id, Object[] state, EntityPersister persister, SessionImplementor source)`
`PreUpdateEvent(Object entity, Serializable id, Object[] state, Object[] oldState, EntityPersister persister, SessionImplementor source)`

Uses of EntityPersister in org.hibernate.event.def

Methods in org.hibernate.event.def with parameters of type EntityPersister
`protected void` | `DefaultDeleteEventListener.cascadeAfterDelete(EventSource session, EntityPersister persister, Object entity, Set transientEntities)`
`protected void` | `DefaultMergeEventListener.cascadeAfterSave(EventSource source, EntityPersister persister, Object entity, Object anything)` Cascade behavior is redefined by this subclass, disable superclass behavior
`protected void` | `AbstractSaveEventListener.cascadeAfterSave(EventSource source, EntityPersister persister, Object entity, Object anything)` Handles to calls needed to perform post-save cascades.
`protected void` | `DefaultDeleteEventListener.cascadeBeforeDelete(EventSource session, EntityPersister persister, Object entity, EntityEntry entityEntry, Set transientEntities)`
`protected void` | `DefaultMergeEventListener.cascadeBeforeSave(EventSource source, EntityPersister persister, Object entity, Object anything)` Cascade behavior is redefined by this subclass, disable superclass behavior
`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.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, EntityMode entityMode)` 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, 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 Object` | `DefaultLoadEventListener.doLoad(LoadEvent event, EntityPersister persister, EntityKey keyToLoad, LoadEventListener.LoadType options)` Coordinates the efforts to load a given entity.
`protected Serializable` | `DefaultSaveOrUpdateEventListener.getUpdateId(Object entity, EntityPersister persister, Serializable requestedId, EntityMode entityMode)` Determine the id to use for updating.
`protected Serializable` | `DefaultUpdateEventListener.getUpdateId(Object entity, EntityPersister persister, Serializable requestedId, EntityMode entityMode)` 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.load(LoadEvent event, EntityPersister persister, EntityKey keyToLoad, LoadEventListener.LoadType options)` Perfoms the load of an entity.
`protected Object` | `DefaultLoadEventListener.loadFromDatasource(LoadEvent event, EntityPersister persister, EntityKey keyToLoad, LoadEventListener.LoadType options)` Performs the process of loading an entity from the configured underlying datasource.
`protected Object` | `DefaultLoadEventListener.loadFromSecondLevelCache(LoadEvent event, EntityPersister persister, LoadEventListener.LoadType options)` Attempts to load the entity from the second-level cache.
`protected Object` | `DefaultLoadEventListener.lockAndLoad(LoadEvent event, EntityPersister persister, EntityKey keyToLoad, LoadEventListener.LoadType options, SessionImplementor source)` If the class to be loaded has been configured with a cache, then lock given id in that cache and then perform the load.
`protected Serializable` | `AbstractSaveEventListener.performSave(Object entity, Serializable id, EntityPersister persister, boolean useIdentityColumn, Object anything, EventSource source, boolean requiresImmediateIdAccess)` Ppepares 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 Object` | `DefaultLoadEventListener.proxyOrLoad(LoadEvent event, EntityPersister persister, EntityKey keyToLoad, LoadEventListener.LoadType options)` Based on configured options, will either return a pre-existing proxy, generate a new proxy, or perform an actual load.
`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.
`protected boolean` | `DefaultReplicateEventListener.substituteValuesIfNecessary(Object entity, Serializable id, Object[] values, EntityPersister persister, SessionImplementor source)`
`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 void` | `AbstractSaveEventListener.validate(Object entity, EntityPersister persister, EventSource source)`
`protected void` | `DefaultFlushEntityEventListener.validate(Object entity, EntityPersister persister, Status status, EntityMode entityMode)`

Uses of EntityPersister in org.hibernate.hql.ast.tree

Methods in org.hibernate.hql.ast.tree that return EntityPersister
`EntityPersister` | `FromElement.getEntityPersister()`

Methods in org.hibernate.hql.ast.tree with parameters of type EntityPersister
`void` | `FromElement.initializeEntity(FromClause fromClause, String className, EntityPersister persister, EntityType type, String classAlias, String tableAlias)`

Uses of EntityPersister in org.hibernate.hql.ast.util

Methods in org.hibernate.hql.ast.util that return EntityPersister
`EntityPersister` | `SessionFactoryHelper.requireClassPersister(String name)` Locate the persister by class or entity name, requiring that such a persister exist.

Uses of EntityPersister in org.hibernate.id

Subinterfaces of EntityPersister in org.hibernate.id
`interface` | `PostInsertIdentityPersister` A persister that may have an identity assigned by execution of a SQL `INSERT`.

Uses of EntityPersister in org.hibernate.impl

Methods in org.hibernate.impl that return EntityPersister
`EntityPersister` | `SessionFactoryImpl.getEntityPersister(String entityName)`
`EntityPersister` | `StatelessSessionImpl.getEntityPersister(String entityName, Object object)`
`EntityPersister` | `SessionImpl.getEntityPersister(String entityName, Object object)`

Methods in org.hibernate.impl with parameters of type EntityPersister
`Object` | `SessionImpl.instantiate(EntityPersister persister, Serializable id)` give the interceptor an opportunity to override the default instantiation

Uses of EntityPersister in org.hibernate.loader

Methods in org.hibernate.loader with parameters of type EntityPersister
`protected List` | `Loader.loadEntity(SessionImplementor session, Object key, Object index, Type keyType, Type indexType, EntityPersister persister)` Called by subclasses that load entities
`protected List` | `Loader.loadEntity(SessionImplementor session, Object id, Type identifierType, Object optionalObject, String optionalEntityName, Serializable optionalIdentifier, EntityPersister persister)` Called by subclasses that load entities
`List` | `Loader.loadEntityBatch(SessionImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister)` Called by wrappers that batch load entities

Uses of EntityPersister in org.hibernate.loader.entity

Constructors in org.hibernate.loader.entity with parameters of type EntityPersister
`BatchingEntityLoader(EntityPersister persister, int[] batchSizes, Loader[] loaders)`

Uses of EntityPersister in org.hibernate.persister

Methods in org.hibernate.persister that return EntityPersister
`static EntityPersister` | `PersisterFactory.createClassPersister(PersistentClass model, CacheConcurrencyStrategy cache, SessionFactoryImplementor factory, Mapping cfg)`

Uses of EntityPersister in org.hibernate.persister.collection

Methods in org.hibernate.persister.collection that return EntityPersister
`EntityPersister` | `AbstractCollectionPersister.getElementPersister()`
`EntityPersister` | `QueryableCollection.getElementPersister()` Get the persister of the element class, if this is a collection of entities (optional operation).
`EntityPersister` | `CollectionPersister.getOwnerEntityPersister()` Get the persister of the entity that "owns" this collection
`EntityPersister` | `AbstractCollectionPersister.getOwnerEntityPersister()`

Uses of EntityPersister in org.hibernate.persister.entity

Subinterfaces of EntityPersister in org.hibernate.persister.entity
`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`

Classes in org.hibernate.persister.entity that implement EntityPersister
`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.

Methods in org.hibernate.persister.entity that return EntityPersister
`EntityPersister` | `AbstractEntityPersister.getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory, EntityMode entityMode)`
`EntityPersister` | `EntityPersister.getSubclassEntityPersister(Object instance, SessionFactoryImplementor factory, EntityMode entityMode)` Get the persister for an instance of this class or a subclass

Constructors in org.hibernate.persister.entity with parameters of type EntityPersister
`NamedQueryLoader(String queryName, EntityPersister persister)`

Uses of EntityPersister in org.hibernate.pretty

Methods in org.hibernate.pretty with parameters of type EntityPersister
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES