public class MergeEventListener extends IdTransferringMergeEventListener
Modifier and Type | Field and Description |
---|---|
static String |
MERGE_EVENT |
Constructor and Description |
---|
MergeEventListener(CurrentDetails cd,
TokenHolder th)
main constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
copyValues(org.hibernate.persister.entity.EntityPersister persister,
Object entity,
Object target,
org.hibernate.engine.SessionImplementor source,
Map copyCache) |
protected void |
copyValues(org.hibernate.persister.entity.EntityPersister persister,
Object entity,
Object target,
org.hibernate.engine.SessionImplementor source,
Map copyCache,
org.hibernate.type.ForeignKeyDirection foreignKeyDirection) |
protected void |
entityIsDetached(org.hibernate.event.MergeEvent event,
Map copyCache) |
protected void |
entityIsTransient(org.hibernate.event.MergeEvent event,
Map copyCache) |
protected void |
fillReplacement(org.hibernate.event.MergeEvent event) |
void |
onMerge(org.hibernate.event.MergeEvent event) |
void |
onMerge(org.hibernate.event.MergeEvent event,
Map copyCache) |
protected void |
propagateHiddenValues(IObject from,
IObject to) |
cascadeAfterSave, cascadeBeforeSave, cascadeOnMerge, entityIsPersistent, getAssumedUnsaved, getCascadeAction, getMergeMap, getTransientCopyCache, mergeTransientEntity, retryMergeTransientEntities
getEntityState, getLoggableName, invokeSaveLifecycle, isVersionIncrementDisabled, performSave, performSaveOrReplicate, saveWithGeneratedId, saveWithRequestedId, substituteValuesIfNecessary, validate, visitCollectionsBeforeSave
public static final String MERGE_EVENT
public MergeEventListener(CurrentDetails cd, TokenHolder th)
public void onMerge(org.hibernate.event.MergeEvent event) throws org.hibernate.HibernateException
onMerge
in interface org.hibernate.event.MergeEventListener
onMerge
in class org.hibernate.event.def.DefaultMergeEventListener
org.hibernate.HibernateException
public void onMerge(org.hibernate.event.MergeEvent event, Map copyCache) throws org.hibernate.HibernateException
onMerge
in interface org.hibernate.event.MergeEventListener
onMerge
in class org.hibernate.event.def.DefaultMergeEventListener
org.hibernate.HibernateException
protected void copyValues(org.hibernate.persister.entity.EntityPersister persister, Object entity, Object target, org.hibernate.engine.SessionImplementor source, Map copyCache)
copyValues
in class org.hibernate.event.def.DefaultMergeEventListener
protected void copyValues(org.hibernate.persister.entity.EntityPersister persister, Object entity, Object target, org.hibernate.engine.SessionImplementor source, Map copyCache, org.hibernate.type.ForeignKeyDirection foreignKeyDirection)
copyValues
in class org.hibernate.event.def.DefaultMergeEventListener
protected void entityIsTransient(org.hibernate.event.MergeEvent event, Map copyCache)
entityIsTransient
in class IdTransferringMergeEventListener
protected void entityIsDetached(org.hibernate.event.MergeEvent event, Map copyCache)
entityIsDetached
in class org.hibernate.event.def.DefaultMergeEventListener
protected void fillReplacement(org.hibernate.event.MergeEvent event)
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.