Package org.hibernate.event.spi
Interface AutoFlushEventListener
- All Known Implementing Classes:
DefaultAutoFlushEventListener
public interface AutoFlushEventListener
Defines the contract for handling of session auto-flush events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAutoFlush
(AutoFlushEvent event) Handle the given auto-flush event.default void
onAutoPreFlush
(EventSource source)
-
Method Details
-
onAutoFlush
Handle the given auto-flush event.- Parameters:
event
- The auto-flush event to be handled.- Throws:
HibernateException
-
onAutoPreFlush
- Throws:
HibernateException
-