Uses of Interface
org.hibernate.engine.spi.PersistenceContext
Packages that use PersistenceContext
Package
Description
The various concrete action implementations.
Support for many of the internal workings of Hibernate.
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
This package defines a default set of event listeners that implement
the default behaviors of Hibernate session operations.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.-
Uses of PersistenceContext in org.hibernate.action.internal
Methods in org.hibernate.action.internal with parameters of type PersistenceContextModifier and TypeMethodDescriptionprotected void
AbstractEntityInsertAction.addCollectionsByKeyToPersistenceContext
(PersistenceContext persistenceContext, Object[] objects) -
Uses of PersistenceContext in org.hibernate.engine.internal
Methods in org.hibernate.engine.internal that return PersistenceContextModifier and TypeMethodDescriptionstatic PersistenceContext
PersistenceContexts.createPersistenceContext
(SharedSessionContractImplementor session) static PersistenceContext
PersistenceContexts.deserialize
(ObjectInputStream ois, SessionImpl session) EntityEntryImpl.getPersistenceContext()
Methods in org.hibernate.engine.internal with parameters of type PersistenceContextModifier and TypeMethodDescriptionImmutableEntityEntryFactory.createEntityEntry
(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext) Deprecated, for removal: This API element is subject to removal in a future version.MutableEntityEntryFactory.createEntityEntry
(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext) Deprecated, for removal: This API element is subject to removal in a future version.static EntityEntry
EntityEntryImpl.deserialize
(ObjectInputStream ois, PersistenceContext persistenceContext) Custom deserialization routine used during deserialization of aPersistenceContext
for increased performance.static void
PersistenceContexts.serialize
(PersistenceContext persistenceContext, ObjectOutputStream oos) Constructors in org.hibernate.engine.internal with parameters of type PersistenceContextModifierConstructorDescriptionEntityEntryContext
(PersistenceContext persistenceContext) Constructs a EntityEntryContextEntityEntryImpl
(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext) -
Uses of PersistenceContext in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return PersistenceContextModifier and TypeMethodDescriptionSessionDelegatorBaseImpl.getPersistenceContext()
SharedSessionContractImplementor.getPersistenceContext()
Get the persistence context for this session.SharedSessionDelegatorBaseImpl.getPersistenceContext()
SessionDelegatorBaseImpl.getPersistenceContextInternal()
SharedSessionContractImplementor.getPersistenceContextInternal()
Similar toSharedSessionContractImplementor.getPersistenceContext()
, with two differences: this version performs better as it allows for inlining and probably better prediction, and it skips some checks of the current state of the session.SharedSessionDelegatorBaseImpl.getPersistenceContextInternal()
Methods in org.hibernate.engine.spi with parameters of type PersistenceContextModifier and TypeMethodDescriptionEntityEntryFactory.createEntityEntry
(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext) Deprecated, for removal: This API element is subject to removal in a future version.CreatesEntityEntry
.Constructors in org.hibernate.engine.spi with parameters of type PersistenceContextModifierConstructorDescriptionBatchFetchQueue
(PersistenceContext context) Constructs a queue for the given context. -
Uses of PersistenceContext in org.hibernate.event.internal
Methods in org.hibernate.event.internal with parameters of type PersistenceContextModifier and TypeMethodDescriptionprotected void
AbstractFlushingEventListener.flushEverythingToExecutions
(FlushEvent event, PersistenceContext persistenceContext, EventSource session) static void
DefaultInitializeCollectionEventListener.handlePotentiallyEmptyCollection
(PersistentCollection<?> collection, PersistenceContext persistenceContext, Object loadedKey, CollectionPersister loadedPersister) protected void
AbstractFlushingEventListener.preFlush
(EventSource session, PersistenceContext persistenceContext) -
Uses of PersistenceContext in org.hibernate.internal
Methods in org.hibernate.internal that return PersistenceContextModifier and TypeMethodDescriptionprotected PersistenceContext
SessionImpl.createPersistenceContext()
SessionImpl.getPersistenceContext()
StatelessSessionImpl.getPersistenceContext()
SessionImpl.getPersistenceContextInternal()
StatelessSessionImpl.getPersistenceContextInternal()
Methods in org.hibernate.internal with parameters of type PersistenceContextModifier and TypeMethodDescriptionprotected Object
StatelessSessionImpl.internalLoadGet
(String entityName, Object id, PersistenceContext persistenceContext) -
Uses of PersistenceContext in org.hibernate.sql.results.graph.entity.internal
Methods in org.hibernate.sql.results.graph.entity.internal with parameters of type PersistenceContextModifier and TypeMethodDescriptionprotected void
EntityInitializerImpl.registerNaturalIdResolution
(EntityInitializerImpl.EntityInitializerData data, PersistenceContext persistenceContext, Object[] resolvedEntityState) protected void
EntityInitializerImpl.takeSnapshot
(EntityInitializerImpl.EntityInitializerData data, SharedSessionContractImplementor session, PersistenceContext persistenceContext, EntityEntry entityEntry, Object[] resolvedEntityState) protected void
EntityInitializerImpl.updateCaches
(EntityInitializerImpl.EntityInitializerData data, SharedSessionContractImplementor session, PersistenceContext persistenceContext, Object[] resolvedEntityState, Object version) -
Uses of PersistenceContext in org.hibernate.sql.results.internal
Methods in org.hibernate.sql.results.internal with parameters of type PersistenceContextModifier and TypeMethodDescriptionstatic void
ResultsHelper.finalizeCollectionLoading
(PersistenceContext persistenceContext, CollectionPersister collectionDescriptor, PersistentCollection<?> collectionInstance, Object key, boolean hasNoQueuedAdds) -
Uses of PersistenceContext in org.hibernate.sql.results.spi
Methods in org.hibernate.sql.results.spi that return PersistenceContextModifier and TypeMethodDescriptionLoadContexts.getPersistenceContext()
Retrieves the persistence context to which this is bound.Constructors in org.hibernate.sql.results.spi with parameters of type PersistenceContext