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 © 2017 JBoss by Red Hat. All rights reserved.