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 voidAbstractEntityInsertAction.addCollectionsByKeyToPersistenceContext(PersistenceContext persistenceContext, Object[] objects) -
Uses of PersistenceContext in org.hibernate.engine.internal
Methods in org.hibernate.engine.internal that return PersistenceContextModifier and TypeMethodDescriptionstatic PersistenceContextPersistenceContexts.createPersistenceContext(SharedSessionContractImplementor session) static PersistenceContextPersistenceContexts.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 EntityEntryEntityEntryImpl.deserialize(ObjectInputStream ois, PersistenceContext persistenceContext) Custom deserialization routine used during deserialization of aPersistenceContextfor increased performance.static voidPersistenceContexts.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 voidAbstractFlushingEventListener.flushEverythingToExecutions(FlushEvent event, PersistenceContext persistenceContext, EventSource session) static voidDefaultInitializeCollectionEventListener.handlePotentiallyEmptyCollection(PersistentCollection<?> collection, PersistenceContext persistenceContext, Object loadedKey, CollectionPersister loadedPersister) protected voidAbstractFlushingEventListener.preFlush(EventSource session, PersistenceContext persistenceContext) -
Uses of PersistenceContext in org.hibernate.internal
Methods in org.hibernate.internal that return PersistenceContextModifier and TypeMethodDescriptionprotected PersistenceContextSessionImpl.createPersistenceContext()SessionImpl.getPersistenceContext()StatelessSessionImpl.getPersistenceContext()SessionImpl.getPersistenceContextInternal()StatelessSessionImpl.getPersistenceContextInternal()Methods in org.hibernate.internal with parameters of type PersistenceContextModifier and TypeMethodDescriptionprotected ObjectStatelessSessionImpl.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 voidEntityInitializerImpl.registerNaturalIdResolution(EntityInitializerImpl.EntityInitializerData data, PersistenceContext persistenceContext, Object[] resolvedEntityState) protected voidEntityInitializerImpl.takeSnapshot(EntityInitializerImpl.EntityInitializerData data, SharedSessionContractImplementor session, PersistenceContext persistenceContext, EntityEntry entityEntry, Object[] resolvedEntityState) protected voidEntityInitializerImpl.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 voidResultsHelper.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