Class ShallowMergeOperation

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

public class ShallowMergeOperation
extends Object
An operation that merges changes from a single object registered in some ObjectContext, to a peer object in an ObjectConext that is a child of that context.
Since:
3.1
  • Constructor Details

    • ShallowMergeOperation

      public ShallowMergeOperation​(ObjectContext context)
  • Method Details

    • merge

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