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 TypeMethodDescriptionvoidonAutoFlush(AutoFlushEvent event) Handle the given auto-flush event.default voidonAutoPreFlush(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
-