Class DeepMergeOperation

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

public class DeepMergeOperation extends Object
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 Details

    • DeepMergeOperation

      public DeepMergeOperation(ObjectContext context)
  • Method Details

    • merge

      public <T extends Persistent> T merge(T peerInParentContext)