public interface PersistEventListener extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
onPersist(PersistEvent event)
Handle the given create event.
|
void |
onPersist(PersistEvent event,
Map createdAlready)
Handle the given create event.
|
void onPersist(PersistEvent event) throws HibernateException
event
- The create event to be handled.HibernateException
void onPersist(PersistEvent event, Map createdAlready) throws HibernateException
event
- The create event to be handled.HibernateException
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.