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