Uses of Interface
org.hibernate.engine.spi.PersistenceContext
Packages that use PersistenceContext
Package
Description
This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
-
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.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