Uses of Interface
org.hibernate.engine.spi.PersistenceContext
-
Packages that use PersistenceContext Package Description org.hibernate.action.internal The various concrete action implementations.org.hibernate.engine.internal Support for many of the internal workings of Hibernate.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate.org.hibernate.sql.results.graph.entity org.hibernate.sql.results.graph.entity.internal org.hibernate.sql.results.internal org.hibernate.sql.results.spi -
-
Uses of PersistenceContext in org.hibernate.action.internal
Methods in org.hibernate.action.internal with parameters of type PersistenceContext Modifier and Type Method Description protected voidAbstractEntityInsertAction. addCollectionsByKeyToPersistenceContext(PersistenceContext persistenceContext, Object[] objects) -
Uses of PersistenceContext in org.hibernate.engine.internal
Classes in org.hibernate.engine.internal that implement PersistenceContext Modifier and Type Class Description classStatefulPersistenceContextA stateful implementation of thePersistenceContextcontract, meaning that we maintain this state throughout the life of the persistence context.Fields in org.hibernate.engine.internal declared as PersistenceContext Modifier and Type Field Description protected PersistenceContextAbstractEntityEntry. persistenceContextMethods in org.hibernate.engine.internal that return PersistenceContext Modifier and Type Method Description PersistenceContextAbstractEntityEntry. getPersistenceContext()PersistenceContextImmutableEntityEntry. getPersistenceContext()Methods in org.hibernate.engine.internal with parameters of type PersistenceContext Modifier and Type Method Description EntityEntryImmutableEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)EntityEntryMutableEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)static EntityEntryImmutableEntityEntry. deserialize(ObjectInputStream ois, PersistenceContext persistenceContext)Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.static EntityEntryMutableEntityEntry. deserialize(ObjectInputStream ois, PersistenceContext persistenceContext)Custom deserialization routine used during deserialization of a Session/PersistenceContext for increased performance.Constructors in org.hibernate.engine.internal with parameters of type PersistenceContext Constructor Description AbstractEntityEntry(SessionFactoryImplementor factory, String entityName, Object id, Status status, Status previousStatus, Object[] loadedState, Object[] deletedState, Object version, LockMode lockMode, boolean existsInDatabase, boolean isBeingReplicated, PersistenceContext persistenceContext)This for is used during custom deserialization handlingAbstractEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)EntityEntryContext(PersistenceContext persistenceContext)Constructs a EntityEntryContextMutableEntityEntry(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 PersistenceContext Modifier and Type Method Description PersistenceContextSessionDelegatorBaseImpl. getPersistenceContext()PersistenceContextSharedSessionContractImplementor. getPersistenceContext()Get the persistence context for this session.PersistenceContextSharedSessionDelegatorBaseImpl. getPersistenceContext()PersistenceContextSessionDelegatorBaseImpl. getPersistenceContextInternal()PersistenceContextSharedSessionContractImplementor. 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.PersistenceContextSharedSessionDelegatorBaseImpl. getPersistenceContextInternal()Methods in org.hibernate.engine.spi with parameters of type PersistenceContext Modifier and Type Method Description EntityEntryEntityEntryFactory. createEntityEntry(Status status, Object[] loadedState, Object rowId, Object id, Object version, LockMode lockMode, boolean existsInDatabase, EntityPersister persister, boolean disableVersionIncrement, PersistenceContext persistenceContext)CreatesEntityEntry.Constructors in org.hibernate.engine.spi with parameters of type PersistenceContext Constructor Description BatchFetchQueue(PersistenceContext context)Constructs a queue for the given context. -
Uses of PersistenceContext in org.hibernate.internal
Methods in org.hibernate.internal that return PersistenceContext Modifier and Type Method Description PersistenceContextSessionImpl. getPersistenceContext()PersistenceContextStatelessSessionImpl. getPersistenceContext()PersistenceContextSessionImpl. getPersistenceContextInternal()PersistenceContextStatelessSessionImpl. getPersistenceContextInternal() -
Uses of PersistenceContext in org.hibernate.sql.results.graph.entity
Methods in org.hibernate.sql.results.graph.entity with parameters of type PersistenceContext Modifier and Type Method Description protected ObjectAbstractEntityInitializer. getProxy(PersistenceContext persistenceContext)protected voidAbstractEntityInitializer. registerNaturalIdResolution(PersistenceContext persistenceContext, Object entityIdentifier)protected voidAbstractEntityInitializer. takeSnapshot(RowProcessingState rowProcessingState, SharedSessionContractImplementor session, PersistenceContext persistenceContext, EntityEntry entityEntry)protected voidAbstractEntityInitializer. updateCaches(Object toInitialize, RowProcessingState rowProcessingState, SharedSessionContractImplementor session, PersistenceContext persistenceContext, Object entityIdentifier, Object version) -
Uses of PersistenceContext in org.hibernate.sql.results.graph.entity.internal
Methods in org.hibernate.sql.results.graph.entity.internal with parameters of type PersistenceContext Modifier and Type Method Description protected ObjectEntityJoinedFetchInitializer. getProxy(PersistenceContext persistenceContext) -
Uses of PersistenceContext in org.hibernate.sql.results.internal
Methods in org.hibernate.sql.results.internal with parameters of type PersistenceContext Modifier and Type Method Description static 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 PersistenceContext Modifier and Type Method Description PersistenceContextLoadContexts. getPersistenceContext()Retrieves the persistence context to which this is bound.Constructors in org.hibernate.sql.results.spi with parameters of type PersistenceContext Constructor Description LoadContexts(PersistenceContext persistenceContext)
-