public interface EntityCopyObserver
Modifier and Type | Method and Description |
---|---|
void |
clear()
Called to clear any data stored in this EntityCopyObserver.
|
void |
entityCopyDetected(Object managedEntity,
Object mergeEntity1,
Object mergeEntity2,
EventSource session)
Called when more than one representation of the same persistent entity is being merged.
|
void |
topLevelMergeComplete(EventSource session)
Called when the top-level merge operation is complete.
|
void entityCopyDetected(Object managedEntity, Object mergeEntity1, Object mergeEntity2, EventSource session)
managedEntity
- The managed entity in the persistence context (the merge result).mergeEntity1
- A managed or detached entity being merged; must be non-null.mergeEntity2
- A different managed or detached entity being merged; must be non-null.session
- The session.void topLevelMergeComplete(EventSource session)
session
- The sessionvoid clear()
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.