Uses of Class
org.hibernate.engine.EntityKey

Packages that use EntityKey
org.hibernate.action This package defines "actions" that are scheduled for asycnchronous execution by the event listeners. 
org.hibernate.engine This package contains classes that are "shared" by other packages, and implementations of some key algorithms. 
org.hibernate.envers.entities.mapper.relation.lazy   
org.hibernate.event.def This package defines a default set of event listeners that implements the default behaviors of Hibernate. 
org.hibernate.impl This package contains implementations of the central Hibernate APIs, especially the Hibernate session. 
 

Uses of EntityKey in org.hibernate.action
 

Methods in org.hibernate.action that return EntityKey
 EntityKey EntityIdentityInsertAction.getDelayedEntityKey()
           
 

Uses of EntityKey in org.hibernate.engine
 

Methods in org.hibernate.engine that return EntityKey
 EntityKey EntityEntry.getEntityKey()
          Get the EntityKey based on this EntityEntry.
 

Methods in org.hibernate.engine with parameters of type EntityKey
 void BatchFetchQueue.addBatchLoadableEntityKey(EntityKey key)
          If an EntityKey represents a batch loadable entity, add it to the queue.
 void StatefulPersistenceContext.addEntity(EntityKey key, Object entity)
           
 void PersistenceContext.addEntity(EntityKey key, Object entity)
          Add a canonical mapping from entity key to entity instance
 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.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.
 void StatefulPersistenceContext.addNullProperty(EntityKey ownerKey, String propertyName)
          Record the fact that the association belonging to the keyed entity is null.
 void PersistenceContext.addNullProperty(EntityKey ownerKey, String propertyName)
          Record the fact that the association belonging to the keyed entity is null.
 void StatefulPersistenceContext.addProxy(EntityKey key, Object proxy)
          Add a proxy to the session cache
 void PersistenceContext.addProxy(EntityKey key, Object proxy)
          Add a proxy to the session cache
 void BatchFetchQueue.addSubselect(EntityKey key, SubselectFetch subquery)
          Adds a subselect fetch decriptor for the given entity key.
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 StatefulPersistenceContext.checkUniqueness(EntityKey key, Object object)
          Attempts to check whether the given key represents an entity already loaded within the current session.
 void PersistenceContext.checkUniqueness(EntityKey key, Object object)
          Attempts to check whether the given key represents an entity already loaded within the current session.
 boolean StatefulPersistenceContext.containsEntity(EntityKey key)
           
 boolean PersistenceContext.containsEntity(EntityKey key)
          Is there an entity with the given key in the persistence context
 Object[] StatefulPersistenceContext.getCachedDatabaseSnapshot(EntityKey key)
          Retrieve the cached database snapshot for the requested entity key.
 Object[] PersistenceContext.getCachedDatabaseSnapshot(EntityKey key)
           
 Object StatefulPersistenceContext.getEntity(EntityKey key)
          Get the entity instance associated with the given EntityKey
 Object PersistenceContext.getEntity(EntityKey key)
          Get the entity instance associated with the given EntityKey
 Object SessionImplementor.getEntityUsingInterceptor(EntityKey key)
          Get the entity instance associated with the given Key, calling the Interceptor if necessary
 Object StatefulPersistenceContext.getProxy(EntityKey key)
          Get an existing proxy by key
 Object PersistenceContext.getProxy(EntityKey key)
          Get an existing proxy by key
 SubselectFetch BatchFetchQueue.getSubselect(EntityKey key)
          Retrieve the fetch descriptor associated with the given entity key.
 boolean StatefulPersistenceContext.isPropertyNull(EntityKey ownerKey, String propertyName)
          Is the association property belonging to the keyed entity null?
 boolean PersistenceContext.isPropertyNull(EntityKey ownerKey, String propertyName)
          Is the association property belonging to the keyed entity null?
 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 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.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.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 BatchFetchQueue.removeBatchLoadableEntityKey(EntityKey key)
          After evicting or deleting or loading an entity, we don't need to batch fetch it anymore, remove it from the queue if necessary
 Object StatefulPersistenceContext.removeEntity(EntityKey key)
          Remove an entity from the session cache, also clear up other state associated with the entity, all except for the EntityEntry
 Object PersistenceContext.removeEntity(EntityKey key)
          Remove an entity from the session cache, also clear up other state associated with the entity, all except for the EntityEntry
 Object StatefulPersistenceContext.removeProxy(EntityKey key)
          Remove a proxy from the session cache.
 Object PersistenceContext.removeProxy(EntityKey key)
          Remove a proxy from the session cache
 void BatchFetchQueue.removeSubselect(EntityKey key)
          After evicting or deleting an entity, we don't need to know the query that was used to load it anymore (don't call this after loading the entity, since we might still need to load its collections)
 void StatefulPersistenceContext.replaceDelayedEntityIdentityInsertKeys(EntityKey oldKey, Serializable generatedId)
           
 void PersistenceContext.replaceDelayedEntityIdentityInsertKeys(EntityKey oldKey, Serializable generatedId)
           
 

Uses of EntityKey in org.hibernate.envers.entities.mapper.relation.lazy
 

Methods in org.hibernate.envers.entities.mapper.relation.lazy with parameters of type EntityKey
 Object AbstractDelegateSessionImplementor.getEntityUsingInterceptor(EntityKey key)
           
 

Uses of EntityKey in org.hibernate.event.def
 

Methods in org.hibernate.event.def with parameters of type EntityKey
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  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.loadFromSessionCache(LoadEvent event, EntityKey keyToLoad, LoadEventListener.LoadType options)
          Attempts to locate the entity in the session-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.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  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.
 

Uses of EntityKey in org.hibernate.impl
 

Methods in org.hibernate.impl with parameters of type EntityKey
 Object StatelessSessionImpl.getEntityUsingInterceptor(EntityKey key)
           
 Object SessionImpl.getEntityUsingInterceptor(EntityKey key)
           
 



Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.