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(ome.model.IObject from,
ome.model.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)
protected void propagateHiddenValues(ome.model.IObject from, ome.model.IObject to)