|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | |
EntityUpdateAction(Serializable id,
Object[] state,
int[] dirtyProperties,
boolean hasDirtyCollection,
Object[] previousState,
Object previousVersion,
Object nextVersion,
Object instance,
Object rowId,
EntityPersister persister,
SessionImplementor session)
|
|
EntityInsertAction(Serializable id,
Object[] state,
Object instance,
Object version,
EntityPersister persister,
SessionImplementor session)
|
|
EntityIdentityInsertAction(Object[] state,
Object instance,
EntityPersister persister,
SessionImplementor session,
boolean isDelayed)
|
|
EntityDeleteAction(Serializable id,
Object[] state,
Object version,
Object instance,
EntityPersister persister,
boolean isCascadeDeleteEnabled,
SessionImplementor session)
|
|
EntityAction(SessionImplementor session,
Serializable id,
Object instance,
EntityPersister persister)
Instantiate an action. |
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 | |
StructuredCacheEntry(EntityPersister persister)
|
|
CacheEntry(Object[] state,
EntityPersister persister,
boolean unfetched,
Object version,
SessionImplementor session,
Object owner)
|
Uses of EntityPersister in org.hibernate.engine |
Methods in org.hibernate.engine that return EntityPersister | |
EntityPersister |
SessionImplementor.getEntityPersister(String entityName,
Object object)
Get the EntityPersister for any instance |
EntityPersister |
SessionFactoryImplementor.getEntityPersister(String entityName)
Get the persister for the named entity |
EntityPersister |
EntityEntry.getPersister()
|
Methods in org.hibernate.engine with parameters of type EntityPersister | |
static void |
Versioning.setVersion(Object[] fields,
Object version,
EntityPersister persister)
Inject the optimisitc locking value into the entity state snapshot. |
static Object |
Versioning.getVersion(Object[] fields,
EntityPersister persister)
Extract the optimisitc locking value out of the entity state snapshot. |
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. |
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. |
static void |
TwoPhaseLoad.addUninitializedCachedEntity(EntityKey key,
Object object,
EntityPersister persister,
LockMode lockMode,
boolean lazyPropertiesAreUnfetched,
Object version,
SessionImplementor session)
|
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 |
Object[] |
StatefulPersistenceContext.getNaturalIdSnapshot(Serializable id,
EntityPersister persister)
|
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 |
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. |
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. |
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. |
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[] |
PersistenceContext.getNaturalIdSnapshot(Serializable id,
EntityPersister persister)
|
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 |
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. |
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 |
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 |
Nullability.checkNullability(Object[] values,
EntityPersister persister,
boolean isUpdate)
Check nullability of the class persister properties |
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. |
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. |
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. |
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 |
PreUpdateEvent.getPersister()
|
EntityPersister |
PreLoadEvent.getPersister()
|
EntityPersister |
PreInsertEvent.getPersister()
|
EntityPersister |
PreDeleteEvent.getPersister()
|
EntityPersister |
PostUpdateEvent.getPersister()
|
EntityPersister |
PostLoadEvent.getPersister()
|
EntityPersister |
PostInsertEvent.getPersister()
|
EntityPersister |
PostDeleteEvent.getPersister()
|
Methods in org.hibernate.event with parameters of type EntityPersister | |
PreLoadEvent |
PreLoadEvent.setPersister(EntityPersister persister)
|
PostLoadEvent |
PostLoadEvent.setPersister(EntityPersister persister)
|
Object |
EventSource.instantiate(EntityPersister persister,
Serializable id)
Instantiate an entity instance, using either an interceptor, or the given persister |
Constructors in org.hibernate.event with parameters of type EntityPersister | |
PreUpdateEvent(Object entity,
Serializable id,
Object[] state,
Object[] oldState,
EntityPersister persister,
SessionImplementor source)
|
|
PreInsertEvent(Object entity,
Serializable id,
Object[] state,
EntityPersister persister,
SessionImplementor source)
|
|
PreDeleteEvent(Object entity,
Serializable id,
Object[] deletedState,
EntityPersister persister)
|
|
PostUpdateEvent(Object entity,
Serializable id,
Object[] state,
Object[] oldState,
EntityPersister persister,
EventSource source)
|
|
PostInsertEvent(Object entity,
Serializable id,
Object[] state,
EntityPersister persister,
EventSource source)
|
|
PostDeleteEvent(Object entity,
Serializable id,
Object[] deletedState,
EntityPersister persister,
EventSource source)
|
Uses of EntityPersister in org.hibernate.event.def |
Methods in org.hibernate.event.def with parameters of type EntityPersister | |
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 Serializable |
DefaultSaveOrUpdateEventListener.getUpdateId(Object entity,
EntityPersister persister,
Serializable requestedId,
EntityMode entityMode)
Determine the id to use for updating. |
protected void |
DefaultSaveOrUpdateEventListener.performUpdate(SaveOrUpdateEvent event,
Object entity,
EntityPersister persister)
|
protected boolean |
DefaultSaveOrUpdateEventListener.invokeUpdateLifecycle(Object entity,
EntityPersister persister,
EventSource source)
|
protected boolean |
DefaultReplicateEventListener.substituteValuesIfNecessary(Object entity,
Serializable id,
Object[] values,
EntityPersister persister,
SessionImplementor source)
|
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 |
DefaultMergeEventListener.cascadeOnMerge(EventSource source,
EntityPersister persister,
Object entity,
Map copyCache)
Perform any cascades needed as part of this copy event. |
protected void |
DefaultMergeEventListener.cascadeAfterSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Cascade behavior is redefined by this subclass, disable superclass behavior |
protected void |
DefaultMergeEventListener.cascadeBeforeSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Cascade behavior is redefined by this subclass, disable superclass behavior |
protected Object |
DefaultLoadEventListener.load(LoadEvent event,
EntityPersister persister,
EntityKey keyToLoad,
LoadEventListener.LoadType options)
Perfoms the load of an entity. |
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 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 Object |
DefaultLoadEventListener.doLoad(LoadEvent event,
EntityPersister persister,
EntityKey keyToLoad,
LoadEventListener.LoadType options)
Coordinates the efforts to load a given 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. |
void |
DefaultFlushEntityEventListener.checkId(Object object,
EntityPersister persister,
Serializable id,
EntityMode entityMode)
make sure user didn't mangle the id |
protected void |
DefaultFlushEntityEventListener.validate(Object entity,
EntityPersister persister,
Status status,
EntityMode entityMode)
|
protected boolean |
DefaultFlushEntityEventListener.invokeInterceptor(SessionImplementor session,
Object entity,
EntityEntry entry,
Object[] values,
EntityPersister persister)
|
protected void |
DefaultEvictEventListener.doEvict(Object object,
EntityKey key,
EntityPersister persister,
EventSource session)
|
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 |
DefaultDeleteEventListener.deleteEntity(EventSource session,
Object entity,
EntityEntry entityEntry,
boolean isCascadeDeleteEnabled,
EntityPersister persister,
Set transientEntities)
Perform the entity deletion. |
protected boolean |
DefaultDeleteEventListener.invokeDeleteLifecycle(EventSource session,
Object entity,
EntityPersister persister)
|
protected void |
DefaultDeleteEventListener.cascadeBeforeDelete(EventSource session,
EntityPersister persister,
Object entity,
EntityEntry entityEntry,
Set transientEntities)
|
protected void |
DefaultDeleteEventListener.cascadeAfterDelete(EventSource session,
EntityPersister persister,
Object entity,
Set transientEntities)
|
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 boolean |
AbstractSaveEventListener.invokeSaveLifecycle(Object entity,
EntityPersister persister,
EventSource source)
|
protected void |
AbstractSaveEventListener.validate(Object entity,
EntityPersister persister,
EventSource source)
|
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 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.cascadeBeforeSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Handles the calls needed to perform pre-save cascades for the given entity. |
protected void |
AbstractSaveEventListener.cascadeAfterSave(EventSource source,
EntityPersister persister,
Object entity,
Object anything)
Handles to calls needed to perform post-save cascades. |
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. |
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 |
StatelessSessionImpl.getEntityPersister(String entityName,
Object object)
|
EntityPersister |
SessionImpl.getEntityPersister(String entityName,
Object object)
|
EntityPersister |
SessionFactoryImpl.getEntityPersister(String entityName)
|
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 id,
Type identifierType,
Object optionalObject,
String optionalEntityName,
Serializable optionalIdentifier,
EntityPersister persister)
Called by subclasses that load entities |
protected List |
Loader.loadEntity(SessionImplementor session,
Object key,
Object index,
Type keyType,
Type indexType,
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 |
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()
|
EntityPersister |
AbstractCollectionPersister.getElementPersister()
|
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 |
EntityPersister.getSubclassEntityPersister(Object instance,
SessionFactoryImplementor factory,
EntityMode entityMode)
Get the persister for an instance of this class or a subclass |
EntityPersister |
AbstractEntityPersister.getSubclassEntityPersister(Object instance,
SessionFactoryImplementor factory,
EntityMode entityMode)
|
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,
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. |
static String |
MessageHelper.infoString(EntityPersister persister)
Generate an info message string relating to given entity persister. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |