public class MergeEventListener
extends org.springframework.orm.hibernate3.support.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)
Hibernate 3.1 implementation of ID transferral.
|
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)
org.springframework.orm.hibernate3.support.IdTransferringMergeEventListener
entityIsTransient
in class org.springframework.orm.hibernate3.support.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.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.