public class SaveEventListener
extends org.hibernate.event.def.DefaultSaveEventListener
Modifier and Type | Field and Description |
---|---|
static 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 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
Version: 5.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.