Uses of Interface
org.hibernate.engine.spi.EntityEntry
-
Packages that use EntityEntry Package Description org.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.spi org.hibernate.event.internal This package defines a default set of event listeners that implement the default behaviors of Hibernate session operations.org.hibernate.event.spi org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
.org.hibernate.loader.ast.internal org.hibernate.persister.entity This package abstracts persistence mechanisms for entities.org.hibernate.persister.entity.mutation Defines support for performing mutation operations originating from persistence-context eventsorg.hibernate.sql.results.graph.entity.internal org.hibernate.testing.bytecode.enhancement -
-
Uses of EntityEntry in org.hibernate.engine.internal
Classes in org.hibernate.engine.internal that implement EntityEntry Modifier and Type Class Description class
AbstractEntityEntry
A base implementation of EntityEntryclass
ImmutableEntityEntry
An EntityEntry implementation for immutable entities.class
MutableEntityEntry
An EntityEntry implementation for mutable entities.Methods in org.hibernate.engine.internal that return EntityEntry Modifier and Type Method 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, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement)
EntityEntry
ImmutableEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)
EntityEntry
MutableEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)
static EntityEntry
ImmutableEntityEntry. deserialize(ObjectInputStream ois, PersistenceContext persistenceContext)
Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.static EntityEntry
MutableEntityEntry. deserialize(ObjectInputStream ois, PersistenceContext persistenceContext)
Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.EntityEntry
EntityEntryContext.EntityEntryCrossRef. getEntityEntry()
The associated EntityEntryEntityEntry
EntityEntryContext. getEntityEntry(Object entity)
Retrieve the associated EntityEntry for the entityEntityEntry
StatefulPersistenceContext. getEntry(Object entity)
EntityEntry
EntityEntryContext. removeEntityEntry(Object entity)
Remove an entity from the context, returning the EntityEntry which was associated with itEntityEntry
StatefulPersistenceContext. removeEntry(Object entity)
Methods in org.hibernate.engine.internal that return types with arguments of type EntityEntry Modifier and Type Method Description Map.Entry<Object,EntityEntry>[]
EntityEntryContext. reentrantSafeEntityEntries()
The main bugaboo with IdentityMap that warranted this class in the first place.Map.Entry<Object,EntityEntry>[]
StatefulPersistenceContext. reentrantSafeEntityEntries()
Methods in org.hibernate.engine.internal with parameters of type EntityEntry Modifier and Type Method Description void
EntityEntryContext. addEntityEntry(Object entity, EntityEntry entityEntry)
Adds the entity and entry to this context, associating them togethervoid
StatefulPersistenceContext. setEntryStatus(EntityEntry entry, Status status)
-
Uses of EntityEntry in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return EntityEntry Modifier and Type Method Description EntityEntry
ManagedEntity. $$_hibernate_getEntityEntry()
Provides access to the associated EntityEntry.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, Object 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.EntityEntry
EntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)
CreatesEntityEntry
.EntityEntry
PersistenceContext. getEntry(Object entity)
Retrieve theEntityEntry
representation of the given entity.EntityEntry
PersistenceContext. removeEntry(Object entity)
Remove an entity entry from the session cacheMethods in org.hibernate.engine.spi that return types with arguments of type EntityEntry Modifier and Type Method Description Map.Entry<Object,EntityEntry>[]
PersistenceContext. reentrantSafeEntityEntries()
Provides access to the entity/EntityEntry combos associated with the persistence context in a manner that is safe from reentrant access.Methods in org.hibernate.engine.spi with parameters of type EntityEntry Modifier and Type Method Description void
ManagedEntity. $$_hibernate_setEntityEntry(EntityEntry entityEntry)
Injects the EntityEntry associated with this entity instance.void
SessionDelegatorBaseImpl. forceFlush(EntityEntry e)
void
SessionImplementor. forceFlush(EntityEntry e)
void
PersistenceContext. setEntryStatus(EntityEntry entry, Status status)
Set the status of an entryvoid
ActionQueue. unScheduleDeletion(EntityEntry entry, Object rescuedEntity)
-
Uses of EntityEntry in org.hibernate.event.internal
Methods in org.hibernate.event.internal that return EntityEntry Modifier and Type Method Description protected EntityEntry
AbstractReassociateEventListener. reassociate(AbstractEvent event, Object object, Object id, EntityPersister persister)
Associates a given entity (either transient or associated with another session) to the given session.Methods in org.hibernate.event.internal with parameters of type EntityEntry Modifier and Type Method Description protected void
DefaultDeleteEventListener. deleteEntity(EventSource session, Object entity, EntityEntry entityEntry, boolean isCascadeDeleteEnabled, boolean isOrphanRemovalBeforeUpdates, EntityPersister persister, DeleteContext transientEntities)
Perform the entity deletion.static EntityState
EntityState. getEntityState(Object entity, String entityName, EntityEntry entry, SessionImplementor source, Boolean assumedUnsaved)
Determine whether the entity is persistent, detached, or transientprotected void
AbstractLockUpgradeEventListener. upgradeLock(Object object, EntityEntry entry, LockOptions lockOptions, EventSource source)
Performs a pessimistic lock upgrade on a given entity, if needed. -
Uses of EntityEntry in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return EntityEntry Modifier and Type Method Description EntityEntry
FlushEntityEvent. getEntityEntry()
EntityEntry
SaveOrUpdateEvent. getEntry()
Methods in org.hibernate.event.spi with parameters of type EntityEntry Modifier and Type Method Description void
EventSource. forceFlush(EntityEntry e)
Force an immediate flushvoid
SaveOrUpdateEvent. setEntry(EntityEntry entry)
Constructors in org.hibernate.event.spi with parameters of type EntityEntry Constructor Description FlushEntityEvent(EventSource source, Object entity, EntityEntry entry)
-
Uses of EntityEntry in org.hibernate.internal
Methods in org.hibernate.internal with parameters of type EntityEntry Modifier and Type Method Description void
SessionImpl. forceFlush(EntityEntry entityEntry)
-
Uses of EntityEntry in org.hibernate.loader.ast.internal
Methods in org.hibernate.loader.ast.internal with parameters of type EntityEntry Modifier and Type Method Description static void
LoaderHelper. upgradeLock(Object object, EntityEntry entry, LockOptions lockOptions, EventSource session)
-
Uses of EntityEntry in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type EntityEntry Modifier and Type Method Description Object
AbstractEntityPersister. getCollectionKey(CollectionPersister persister, Object owner, EntityEntry ownerEntry, SharedSessionContractImplementor session)
protected Object
AbstractEntityPersister. initializeLazyPropertiesFromCache(String fieldName, Object entity, SharedSessionContractImplementor session, EntityEntry entry, CacheEntry cacheEntry)
protected Object
AbstractEntityPersister. initializeLazyPropertiesFromDatastore(Object entity, Object id, EntityEntry entry, String fieldName, SharedSessionContractImplementor session)
protected boolean
AbstractEntityPersister. initializeLazyProperty(String fieldName, Object entity, EntityEntry entry, int index, Object propValue)
-
Uses of EntityEntry in org.hibernate.persister.entity.mutation
Methods in org.hibernate.persister.entity.mutation with parameters of type EntityEntry Modifier and Type Method Description boolean
UpdateCoordinatorStandard. isModifiableEntity(EntityEntry entry)
-
Uses of EntityEntry in org.hibernate.sql.results.graph.entity.internal
Methods in org.hibernate.sql.results.graph.entity.internal with parameters of type EntityEntry Modifier and Type Method Description protected static void
BatchEntityInsideEmbeddableSelectFetchInitializer. setInstance(EntityInitializer entityInitializer, ToOneAttributeMapping referencedModelPart, String rootEmbeddablePropertyName, int propertyIndex, Object loadedInstance, Object embeddableParentInstance, EntityKey parentEntityKey, EntityEntry parentEntityEntry, SharedSessionContractImplementor session)
protected static void
BatchEntitySelectFetchInitializer. setInstance(EntityInitializer entityInitializer, ToOneAttributeMapping referencedModelPart, String propertyName, int propertyIndex, SharedSessionContractImplementor session, Object instance, Object parentInstance, EntityEntry entry)
-
Uses of EntityEntry in org.hibernate.testing.bytecode.enhancement
Methods in org.hibernate.testing.bytecode.enhancement that return EntityEntry Modifier and Type Method Description static EntityEntry
EnhancerTestUtils. makeEntityEntry()
-