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

PreInsertEventListener (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.event
Interface PreInsertEventListener

All Superinterfaces:
Serializable
All Known Implementing Classes:
JACCPreInsertEventListener

public interface PreInsertEventListener
extends Serializable

Called before inserting an item in the datastore

Author:
Gavin King

Method Summary
 boolean onPreInsert(PreInsertEvent event)
          Return true if the operation should be vetoed
 

Method Detail

onPreInsert

public boolean onPreInsert(PreInsertEvent event)
Return true if the operation should be vetoed