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.2.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.