当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
DeleteEventListener (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.event
Interface DeleteEventListener
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- DefaultDeleteEventListener
- public interface DeleteEventListener
- extends Serializable
Defines the contract for handling of deletion events generated from a session.
- Author:
- Steve Ebersole
onDelete
public void onDelete(DeleteEvent event)
throws HibernateException
- Handle the given delete event.
- Parameters:
event
- The delete event to be handled.
- Throws:
HibernateException
onDelete
public void onDelete(DeleteEvent event,
Set transientEntities)
throws HibernateException
- Throws:
HibernateException