接口 PersistEventListener
-
- 所有超级接口:
Serializable
public interface PersistEventListener extends Serializable
Defines the contract for handling of create events generated from a session.- 作者:
- Gavin King
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidonPersist(PersistEvent event)Handle the given create event.voidonPersist(PersistEvent event, Map createdAlready)Handle the given create event.
-
-
-
方法详细资料
-
onPersist
void onPersist(PersistEvent event) throws HibernateException
Handle the given create event.- 参数:
event- The create event to be handled.- 抛出:
HibernateException
-
onPersist
void onPersist(PersistEvent event, Map createdAlready) throws HibernateException
Handle the given create event.- 参数:
event- The create event to be handled.- 抛出:
HibernateException
-
-