Package org.hibernate.event.spi
Interface SaveOrUpdateEventListener
- All Known Implementing Classes:
DefaultSaveEventListener,DefaultSaveOrUpdateEventListener,DefaultUpdateEventListener
@Deprecated(since="6")public interfaceSaveOrUpdateEventListener
Deprecated.sinceSession.saveOrUpdate(java.lang.Object)and friends are deprecatedDefines the contract for handling of update events generated from a session.
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidonSaveOrUpdate(SaveOrUpdateEvent event)Deprecated.Handle the given update event.
Method Detail
onSaveOrUpdate
void onSaveOrUpdate(SaveOrUpdateEvent event) throwsHibernateException
Deprecated.Handle the given update event.- Parameters:
event- The update event to be handled.- Throws:
HibernateException