public class SaveEventListener
extends org.hibernate.event.def.DefaultSaveEventListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SAVE_EVENT |
Constructor and Description |
---|
SaveEventListener(CurrentDetails cd,
TokenHolder th)
main constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
onSaveOrUpdate(org.hibernate.event.SaveOrUpdateEvent event) |
performSaveOrUpdate, reassociateIfUninitializedProxy, saveWithGeneratedOrRequestedId
entityIsDetached, entityIsPersistent, entityIsTransient, getCascadeAction, getUpdateId, invokeUpdateLifecycle, performUpdate
cascadeAfterSave, cascadeBeforeSave, getAssumedUnsaved, getEntityState, getLoggableName, getMergeMap, invokeSaveLifecycle, isVersionIncrementDisabled, performSave, performSaveOrReplicate, saveWithGeneratedId, saveWithRequestedId, substituteValuesIfNecessary, validate, visitCollectionsBeforeSave
public static final java.lang.String SAVE_EVENT
public SaveEventListener(CurrentDetails cd, TokenHolder th)
public void onSaveOrUpdate(org.hibernate.event.SaveOrUpdateEvent event) throws org.hibernate.HibernateException
onSaveOrUpdate
in interface org.hibernate.event.SaveOrUpdateEventListener
onSaveOrUpdate
in class org.hibernate.event.def.DefaultSaveOrUpdateEventListener
org.hibernate.HibernateException