DeepMergeOperation (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.util, class: DeepMergeOperation

# Class DeepMergeOperation

java.lang.Object
org.apache.cayenne.util.DeepMergeOperation

@Deprecated(since="5.0", forRemoval=true) public class DeepMergeOperation extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
unused
An operation that merges changes from an object graph, whose objects are registered in some ObjectContext, to peer objects in an ObjectConext that is a child of that context. The merge terminates at hollow nodes in the parent context to avoid tripping over unresolved relationships.

Since:
  1.2

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DeepMergeOperation(ObjectContext context)`
  Deprecated, for removal: This API element is subject to removal in a future version.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `<T extends Persistent>
  T`
  `merge(T peerInParentContext)`
  Deprecated, for removal: This API element is subject to removal in a future version.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DeepMergeOperation

    public DeepMergeOperation(ObjectContext context)
    Deprecated, for removal: This API element is subject to removal in a future version.

- ## Method Details

  - ### merge

    public <T extends Persistent> T merge(T peerInParentContext)
    Deprecated, for removal: This API element is subject to removal in a future version.