Package org.hibernate.event.internal
Class DefaultPersistOnFlushEventListener
- java.lang.Object
-
- org.hibernate.event.internal.AbstractReassociateEventListener
-
- org.hibernate.event.internal.AbstractSaveEventListener<PersistContext>
-
- org.hibernate.event.internal.DefaultPersistEventListener
-
- org.hibernate.event.internal.DefaultPersistOnFlushEventListener
-
- All Implemented Interfaces:
PersistEventListener
,CallbackRegistryConsumer
public class DefaultPersistOnFlushEventListener extends DefaultPersistEventListener
When persist is used as the cascade action, persistOnFlush should be used
-
-
Constructor Summary
Constructors Constructor Description DefaultPersistOnFlushEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CascadingAction<PersistContext>
getCascadeAction()
-
Methods inherited from class org.hibernate.event.internal.DefaultPersistEventListener
entityIsPersistent, entityIsTransient, onPersist, onPersist
-
Methods inherited from class org.hibernate.event.internal.AbstractSaveEventListener
cascadeAfterSave, cascadeBeforeSave, getMergeMap, injectCallbackRegistry, invokeSaveLifecycle, isVersionIncrementDisabled, performSave, performSaveOrReplicate, saveWithGeneratedId, saveWithRequestedId, substituteValuesIfNecessary, visitCollectionsBeforeSave
-
Methods inherited from class org.hibernate.event.internal.AbstractReassociateEventListener
reassociate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.jpa.event.spi.CallbackRegistryConsumer
injectCallbackRegistry
-
-
-
-
Method Detail
-
getCascadeAction
protected CascadingAction<PersistContext> getCascadeAction()
- Overrides:
getCascadeAction
in classDefaultPersistEventListener
-
-