Uses of Interface
org.hibernate.event.spi.PersistContext
Packages that use PersistContext
Package
Description
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.
Defines the event types and event listener interfaces for
events produced by the stateful
Session
.An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.-
Uses of PersistContext in org.hibernate.engine.spi
Fields in org.hibernate.engine.spi with type parameters of type PersistContextModifier and TypeFieldDescriptionstatic final CascadingAction<PersistContext>
CascadingActions.PERSIST
static final CascadingAction<PersistContext>
CascadingActions.PERSIST_ON_FLUSH
Execute persist during flush time -
Uses of PersistContext in org.hibernate.event.internal
Methods in org.hibernate.event.internal that return PersistContextModifier and TypeMethodDescriptionprotected PersistContext
AbstractFlushingEventListener.getContext
(EventSource session) Methods in org.hibernate.event.internal that return types with arguments of type PersistContextModifier and TypeMethodDescriptionprotected CascadingAction<PersistContext>
DefaultPersistEventListener.getCascadeAction()
protected CascadingAction<PersistContext>
DefaultPersistOnFlushEventListener.getCascadeAction()
protected CascadingAction<PersistContext>
AbstractFlushingEventListener.getCascadingAction
(EventSource session) Methods in org.hibernate.event.internal with parameters of type PersistContextModifier and TypeMethodDescriptionprotected void
DefaultPersistEventListener.entityIsPersistent
(PersistEvent event, PersistContext createCache) protected void
DefaultPersistEventListener.entityIsTransient
(PersistEvent event, PersistContext createCache) Handle the given create event.void
DefaultPersistEventListener.onPersist
(PersistEvent event, PersistContext createCache) Handle the given create event. -
Uses of PersistContext in org.hibernate.event.spi
Methods in org.hibernate.event.spi that return PersistContextMethods in org.hibernate.event.spi with parameters of type PersistContextModifier and TypeMethodDescriptionvoid
PersistEventListener.onPersist
(PersistEvent event, PersistContext createdAlready) Handle the given create event.void
EventSource.persist
(String entityName, Object object, PersistContext createdAlready) Cascade persist an entity instancevoid
EventSource.persistOnFlush
(String entityName, Object object, PersistContext copiedAlready) Cascade persist an entity instance during the flush process -
Uses of PersistContext in org.hibernate.internal
Methods in org.hibernate.internal with parameters of type PersistContextModifier and TypeMethodDescriptionvoid
SessionImpl.persist
(String entityName, Object object, PersistContext copiedAlready) void
SessionImpl.persistOnFlush
(String entityName, Object object, PersistContext copiedAlready)