public class DefaultSaveEventListener extends DefaultSaveOrUpdateEventListener
AbstractSaveEventListener.EntityState
Constructor and Description |
---|
DefaultSaveEventListener() |
Modifier and Type | Method and Description |
---|---|
protected Serializable |
performSaveOrUpdate(SaveOrUpdateEvent event) |
protected boolean |
reassociateIfUninitializedProxy(Object object,
SessionImplementor source) |
protected Serializable |
saveWithGeneratedOrRequestedId(SaveOrUpdateEvent event)
Save the transient instance, assigning the right identifier
|
entityIsDetached, entityIsPersistent, entityIsTransient, getCascadeAction, getUpdateId, invokeUpdateLifecycle, onSaveOrUpdate, performUpdate
cascadeAfterSave, cascadeBeforeSave, getAssumedUnsaved, getEntityState, getLoggableName, getMergeMap, invokeSaveLifecycle, isVersionIncrementDisabled, performSave, performSaveOrReplicate, saveWithGeneratedId, saveWithRequestedId, substituteValuesIfNecessary, visitCollectionsBeforeSave
reassociate
protected Serializable performSaveOrUpdate(SaveOrUpdateEvent event)
performSaveOrUpdate
in class DefaultSaveOrUpdateEventListener
protected Serializable saveWithGeneratedOrRequestedId(SaveOrUpdateEvent event)
DefaultSaveOrUpdateEventListener
saveWithGeneratedOrRequestedId
in class DefaultSaveOrUpdateEventListener
event
- The initiating event.protected boolean reassociateIfUninitializedProxy(Object object, SessionImplementor source)
reassociateIfUninitializedProxy
in class DefaultSaveOrUpdateEventListener
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.