Uses of Interface
org.hibernate.engine.spi.EntityEntry
Packages that use EntityEntry
Package
Description
Service and decomposition contracts for Hibernate action queue implementations.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
An SPI for services which collect, report, or monitor diagnostic events.
Defines the event types and event listener interfaces for
events produced by the stateful
Session.This package abstracts persistence mechanisms for entities.
Defines support for performing mutation operations originating
from persistence-context events.
-
Uses of EntityEntry in org.hibernate.action.queue.spi
Methods in org.hibernate.action.queue.spi with parameters of type EntityEntryModifier and TypeMethodDescriptionvoidActionQueue.unScheduleDeletion(EntityEntry entry, Object rescuedEntity) Un-schedule a deletion for an entity. -
Uses of EntityEntry in org.hibernate.action.queue.spi.decompose.entity
Methods in org.hibernate.action.queue.spi.decompose.entity that return EntityEntryModifier and TypeMethodDescriptionEntityMutationPlanContributor.UpdateContext.entityEntry()Returns the value of theentityEntryrecord component.Methods in org.hibernate.action.queue.spi.decompose.entity with parameters of type EntityEntryModifier and TypeMethodDescriptionstatic voidUpdateCacheHandling.updateItem(org.hibernate.action.internal.EntityUpdateAction action, UpdateCacheHandling.CacheUpdate cacheUpdate, Object nextVersion, EntityEntry entry, SharedSessionContractImplementor session) Constructors in org.hibernate.action.queue.spi.decompose.entity with parameters of type EntityEntryModifierConstructorDescriptionUpdateContext(EntityPersister entityPersister, org.hibernate.action.internal.EntityUpdateAction action, int ordinalBase, SharedSessionContractImplementor session, DecompositionContext decompositionContext, Object entity, Object identifier, Object rowId, Object[] state, Object[] previousState, Object previousVersion, EntityEntry entityEntry, UpdateCacheHandling.CacheUpdate cacheUpdate) Creates an instance of aUpdateContextrecord class. -
Uses of EntityEntry in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return EntityEntryModifier and TypeMethodDescriptionManagedEntity.$$_hibernate_getEntityEntry()Provides access to the associated EntityEntry.default EntityEntryManagedEntity.$$_hibernate_setPersistenceInfo(EntityEntry entityEntry, ManagedEntity previous, ManagedEntity next, int instanceId) Utility method that allows injecting all persistence-related information on the managed entity at once.PersistenceContext.addEntity(Object entity, Status status, Object[] loadedState, EntityKey entityKey, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister) Adds an entity to the internal caches.PersistenceContext.addEntry(Object entity, Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister) Generates an appropriate EntityEntry instance and adds it to the event source's internal caches.PersistenceContext.addReferenceEntry(Object entity, Status status) EntityHolder.getEntityEntry()Retrieve theEntityEntryrepresentation of the given entity.PersistenceContext.removeEntry(Object entity) Remove an entity entry from the session cacheMethods in org.hibernate.engine.spi that return types with arguments of type EntityEntryModifier and TypeMethodDescriptionPersistenceContext.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 EntityEntryModifier and TypeMethodDescriptionvoidManagedEntity.$$_hibernate_setEntityEntry(EntityEntry entityEntry) Injects theEntityEntryassociated with this entity instance.default EntityEntryManagedEntity.$$_hibernate_setPersistenceInfo(EntityEntry entityEntry, ManagedEntity previous, ManagedEntity next, int instanceId) Utility method that allows injecting all persistence-related information on the managed entity at once.voidSessionDelegatorBaseImpl.forceFlush(EntityEntry e) voidSessionImplementor.forceFlush(EntityEntry e) Initiate a flush to force deletion of a re-persisted entity.voidEntityHolder.setEntityEntry(EntityEntry entry) voidPersistenceContext.setEntryStatus(EntityEntry entry, Status status) Set the status of an entryvoidActionQueueLegacy.unScheduleDeletion(EntityEntry entry, Object rescuedEntity) -
Uses of EntityEntry in org.hibernate.event.monitor.spi
Methods in org.hibernate.event.monitor.spi with parameters of type EntityEntryModifier and TypeMethodDescriptionvoidEventMonitor.completeDirtyCalculationEvent(DiagnosticEvent dirtyCalculationEvent, SharedSessionContractImplementor session, EntityPersister persister, EntityEntry entry, int[] dirtyProperties) -
Uses of EntityEntry in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return EntityEntryMethods in org.hibernate.event.spi with parameters of type EntityEntryModifier and TypeMethodDescriptionEventSource.bestGuessEntityName(Object object, EntityEntry entry) Obtain the best estimate of the entity name of the given entity instance, which is not involved in an association, by also considering information held in the proxy, and whether the object is already associated with this session.voidEventSource.forceFlush(EntityEntry e) Force an immediate flushvoidFlushEntityEvent.resetAndReuseEventInstance(Object entity, EntityEntry entry) This is a terrible anti-pattern, but particular circumstances call for being able to reuse the same event instance: this is otherwise allocated in hot loops and since each event is escaping the scope it's actually causing allocation issues.Constructors in org.hibernate.event.spi with parameters of type EntityEntryModifierConstructorDescriptionFlushEntityEvent(EventSource source, Object entity, EntityEntry entry) -
Uses of EntityEntry in org.hibernate.persister.entity
Methods in org.hibernate.persister.entity with parameters of type EntityEntryModifier and TypeMethodDescriptionstatic ObjectAbstractEntityPersister.getCollectionKey(CollectionPersister persister, Object owner, EntityEntry ownerEntry, SharedSessionContractImplementor session) protected ObjectAbstractEntityPersister.initializeLazyPropertiesFromCache(String fieldName, Object entity, SharedSessionContractImplementor session, EntityEntry entry, CacheEntry cacheEntry) protected ObjectAbstractEntityPersister.initializeLazyPropertiesFromDatastore(Object entity, Object id, EntityEntry entry, String fieldName, SharedSessionContractImplementor session) protected voidAbstractEntityPersister.initializeLazyProperty(Object entity, EntityEntry entry, Object propValue, int index, Type type) protected booleanAbstractEntityPersister.initializeLazyProperty(String fieldName, Object entity, EntityEntry entry, int index, Object propValue) Called by Hibernate Reactiveprotected booleanAbstractEntityPersister.initializeLazyProperty(String fieldName, Object entity, EntityEntry entry, LazyAttributeDescriptor fetchGroupAttributeDescriptor, Object propValue) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of EntityEntry in org.hibernate.persister.entity.mutation
Methods in org.hibernate.persister.entity.mutation with parameters of type EntityEntryModifier and TypeMethodDescriptionfinal booleanUpdateCoordinatorStandard.isModifiableEntity(EntityEntry entry)