Class DeleteInsertDbRowOp

java.lang.Object
org.apache.cayenne.access.flush.operation.BaseDbRowOp
org.apache.cayenne.access.flush.operation.DeleteInsertDbRowOp
All Implemented Interfaces:
DbRowOp

public class DeleteInsertDbRowOp extends BaseDbRowOp
Special case op, that describes delete/insert sequence of different objects that have same ObjectId (known example: meaningful PK set to same value as used before).
Since:
4.2
  • Constructor Details

  • Method Details

    • accept

      public <T> T accept(DbRowOpVisitor<T> visitor)
    • isSameBatch

      public boolean isSameBatch(DbRowOp rowOp)
      Parameters:
      rowOp - to check
      Returns:
      is this and rowOp operations belong to same sql batch