Package org.hibernate.event.spi
Interface MergeEventListener
- All Known Implementing Classes:
DefaultMergeEventListener
public interfaceMergeEventListenerDefines the contract for handling of merge events generated from a session.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonMerge(MergeEvent event)Handle the given merge event.voidonMerge(MergeEvent event,MergeContext copiedAlready)Handle the given merge event.
Method Detail
onMerge
void onMerge(MergeEvent event) throwsHibernateException
Handle the given merge event.- Parameters:
event- The merge event to be handled.- Throws:
HibernateException
onMerge
void onMerge(MergeEvent event,MergeContext copiedAlready) throwsHibernateException
Handle the given merge event.- Parameters:
event- The merge event to be handled.- Throws:
HibernateException