Package org.hibernate.event.internal
Class DefaultAutoFlushEventListener
- java.lang.Object
-
- org.hibernate.event.internal.AbstractFlushingEventListener
-
- org.hibernate.event.internal.DefaultAutoFlushEventListener
-
- All Implemented Interfaces:
JpaBootstrapSensitive
,AutoFlushEventListener
public class DefaultAutoFlushEventListener extends AbstractFlushingEventListener implements AutoFlushEventListener
Defines the default flush event listeners used by hibernate for flushing session state in response to generated auto-flush events.
-
-
Constructor Summary
Constructors Constructor Description DefaultAutoFlushEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onAutoFlush(AutoFlushEvent event)
Handle the given auto-flush event.-
Methods inherited from class org.hibernate.event.internal.AbstractFlushingEventListener
flushEverythingToExecutions, getCascadingAction, getContext, logFlushResults, performExecutions, postFlush, postPostFlush, wasJpaBootstrap
-
-
-
-
Method Detail
-
onAutoFlush
public void onAutoFlush(AutoFlushEvent event) throws HibernateException
Handle the given auto-flush event.- Specified by:
onAutoFlush
in interfaceAutoFlushEventListener
- Parameters:
event
- The auto-flush event to be handled.- Throws:
HibernateException
-
-