public class MergeEventListener
extends org.springframework.orm.hibernate3.support.IdTransferringMergeEventListener
Modifier and Type | Field and Description |
---|---|
static java.lang.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,
java.lang.Object entity,
java.lang.Object target,
org.hibernate.engine.SessionImplementor source,
java.util.Map copyCache) |
protected void |
copyValues(org.hibernate.persister.entity.EntityPersister persister,
java.lang.Object entity,
java.lang.Object target,
org.hibernate.engine.SessionImplementor source,
java.util.Map copyCache,
org.hibernate.type.ForeignKeyDirection foreignKeyDirection) |
protected void |
entityIsDetached(org.hibernate.event.MergeEvent event,
java.util.Map copyCache) |
protected void |
entityIsTransient(org.hibernate.event.MergeEvent event,
java.util.Map copyCache) |
protected void |
fillReplacement(org.hibernate.event.MergeEvent event) |
void |
onMerge(org.hibernate.event.MergeEvent event) |
void |
onMerge(org.hibernate.event.MergeEvent event,
java.util.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 java.lang.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, java.util.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, java.lang.Object entity, java.lang.Object target, org.hibernate.engine.SessionImplementor source, java.util.Map copyCache)
copyValues
in class org.hibernate.event.def.DefaultMergeEventListener
protected void copyValues(org.hibernate.persister.entity.EntityPersister persister, java.lang.Object entity, java.lang.Object target, org.hibernate.engine.SessionImplementor source, java.util.Map copyCache, org.hibernate.type.ForeignKeyDirection foreignKeyDirection)
copyValues
in class org.hibernate.event.def.DefaultMergeEventListener
protected void entityIsTransient(org.hibernate.event.MergeEvent event, java.util.Map copyCache)
entityIsTransient
in class org.springframework.orm.hibernate3.support.IdTransferringMergeEventListener
protected void entityIsDetached(org.hibernate.event.MergeEvent event, java.util.Map copyCache)
entityIsDetached
in class org.hibernate.event.def.DefaultMergeEventListener
protected void fillReplacement(org.hibernate.event.MergeEvent event)
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.