站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

MergeEventListener (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.event
Interface MergeEventListener

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultMergeEventListener

public interface MergeEventListener
extends Serializable

Defines the contract for handling of merge events generated from a session.

Author:
Gavin King

Method Summary
 void onMerge(MergeEvent event)
          Handle the given merge event.
 void onMerge(MergeEvent event, Map copiedAlready)
          Handle the given merge event.
 

Method Detail

onMerge

public void onMerge(MergeEvent event)
             throws HibernateException
Handle the given merge event.

Parameters:
event - The merge event to be handled.
Throws:
HibernateException

onMerge

public void onMerge(MergeEvent event,
                    Map copiedAlready)
             throws HibernateException
Handle the given merge event.

Parameters:
event - The merge event to be handled.
Throws:
HibernateException