Uses of Interface
org.hibernate.event.spi.PersistContext
-
Packages that use PersistContext Package Description org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.event.internal This package defines a default set of event listeners that implement the default behaviors of Hibernate session operations.org.hibernate.event.spi Defines the event types and event listener interfaces for events produced by the statefulSession
.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
. -
-
Uses of PersistContext in org.hibernate.engine.spi
Fields in org.hibernate.engine.spi with type parameters of type PersistContext Modifier and Type Field Description static CascadingAction<PersistContext>
CascadingActions. PERSIST
static CascadingAction<PersistContext>
CascadingActions. PERSIST_ON_FLUSH
Execute persist during flush timestatic CascadingAction<PersistContext>
CascadingActions. SAVE_UPDATE
Methods in org.hibernate.engine.spi with parameters of type PersistContext Modifier and Type Method Description void
SessionDelegatorBaseImpl. persist(String entityName, Object object, PersistContext createdAlready)
void
SessionImplementor. persist(String entityName, Object object, PersistContext createdAlready)
Deprecated.OperationalContext should cover this overload I believevoid
SessionDelegatorBaseImpl. persistOnFlush(String entityName, Object object, PersistContext copiedAlready)
void
SessionImplementor. persistOnFlush(String entityName, Object object, PersistContext copiedAlready)
Deprecated.OperationalContext should cover this overload I believe -
Uses of PersistContext in org.hibernate.event.internal
Methods in org.hibernate.event.internal that return PersistContext Modifier and Type Method Description protected PersistContext
AbstractFlushingEventListener. getContext()
Methods in org.hibernate.event.internal that return types with arguments of type PersistContext Modifier and Type Method Description protected CascadingAction<PersistContext>
DefaultPersistEventListener. getCascadeAction()
protected CascadingAction<PersistContext>
DefaultPersistOnFlushEventListener. getCascadeAction()
protected CascadingAction<PersistContext>
DefaultSaveOrUpdateEventListener. getCascadeAction()
protected CascadingAction<PersistContext>
AbstractFlushingEventListener. getCascadingAction()
Methods in org.hibernate.event.internal with parameters of type PersistContext Modifier and Type Method Description protected 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 PersistContext Modifier and Type Method Description static PersistContext
PersistContext. create()
Methods in org.hibernate.event.spi with parameters of type PersistContext Modifier and Type Method Description void
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 PersistContext Modifier and Type Method Description void
SessionImpl. persist(String entityName, Object object, PersistContext copiedAlready)
void
SessionImpl. persistOnFlush(String entityName, Object object, PersistContext copiedAlready)
-