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.PERSISTstatic final CascadingAction<PersistContext> CascadingActions.PERSIST_ON_FLUSHExecute persist during flush time -
Uses of PersistContext in org.hibernate.event.internal
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()Methods in org.hibernate.event.internal with parameters of type PersistContextModifier and TypeMethodDescriptionprotected voidDefaultPersistEventListener.entityIsPersistent(PersistEvent event, PersistContext createCache) protected voidDefaultPersistEventListener.entityIsTransient(PersistEvent event, PersistContext createCache) Handle the given persist event.voidDefaultPersistEventListener.onPersist(PersistEvent event, PersistContext createCache) Handle the given persist 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 TypeMethodDescriptionvoidPersistEventListener.onPersist(PersistEvent event, PersistContext createdAlready) Handle the given create event.voidEventSource.persist(String entityName, Object object, PersistContext createdAlready) Cascade persist an entity instancevoidEventSource.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 TypeMethodDescriptionvoidSessionImpl.persist(String entityName, Object object, PersistContext copiedAlready) voidSessionImpl.persistOnFlush(String entityName, Object object, PersistContext copiedAlready)