Package org.hibernate.event.spi
Interface AutoFlushEventListener
-
public interface AutoFlushEventListenerDefines the contract for handling of session auto-flush events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidonAutoFlush(AutoFlushEvent event)Handle the given auto-flush event.default voidonAutoPreFlush(EventSource source)
-
-
-
Method Detail
-
onAutoFlush
void onAutoFlush(AutoFlushEvent event) throws HibernateException
Handle the given auto-flush event.- Parameters:
event- The auto-flush event to be handled.- Throws:
HibernateException
-
onAutoPreFlush
default void onAutoPreFlush(EventSource source) throws HibernateException
- Throws:
HibernateException
-
-