Class OraclePrimaryKeyLobReselectIT

java.lang.Object
io.debezium.embedded.AbstractConnectorTest
io.debezium.connector.oracle.OraclePrimaryKeyLobReselectIT
All Implemented Interfaces:
Testing

public class OraclePrimaryKeyLobReselectIT extends AbstractConnectorTest
Integration tests when LOB is enabled and the primary key changes, to re-select LOB columns within the BaseChangeRecordEmitter.
Author:
Chris Cranford
  • Field Details

    • skipAdapterRule

      public org.junit.rules.TestRule skipAdapterRule
    • connection

      private io.debezium.connector.oracle.OracleConnection connection
  • Constructor Details

    • OraclePrimaryKeyLobReselectIT

      public OraclePrimaryKeyLobReselectIT()
  • Method Details

    • beforeEach

      public void beforeEach()
    • afterEach

      public void afterEach() throws Exception
      Throws:
      Exception
    • testCharColumn

      @FixFor("DBZ-7458") public void testCharColumn() throws Exception
      Throws:
      Exception
    • testNationalizedCharColumn

      @FixFor("DBZ-7458") public void testNationalizedCharColumn() throws Exception
      Throws:
      Exception
    • testVarchar2Column

      @FixFor("DBZ-7458") public void testVarchar2Column() throws Exception
      Throws:
      Exception
    • testNationalizedVarchar2Column

      @FixFor("DBZ-7458") public void testNationalizedVarchar2Column() throws Exception
      Throws:
      Exception
    • testNumericColumnNotVariableScaleDecimal

      @FixFor("DBZ-7458") public void testNumericColumnNotVariableScaleDecimal() throws Exception
      Throws:
      Exception
    • testNumeric38Column

      @FixFor("DBZ-7458") public void testNumeric38Column() throws Exception
      Throws:
      Exception
    • testFloatColumn

      @FixFor("DBZ-7458") public void testFloatColumn() throws Exception
      Throws:
      Exception
    • testBinaryFloatColumn

      @FixFor("DBZ-7458") public void testBinaryFloatColumn() throws Exception
      Throws:
      Exception
    • testBinaryDoubleColumn

      @FixFor("DBZ-7458") public void testBinaryDoubleColumn() throws Exception
      Throws:
      Exception
    • testDateColumn

      @FixFor("DBZ-7458") public void testDateColumn() throws Exception
      Throws:
      Exception
    • testTimestampColumn

      @FixFor("DBZ-7458") public void testTimestampColumn() throws Exception
      Throws:
      Exception
    • testIntervalYearToMonthColumn

      @FixFor("DBZ-7458") public void testIntervalYearToMonthColumn() throws Exception
      Throws:
      Exception
    • testIntervalDayToSecondColumn

      @FixFor("DBZ-7458") public void testIntervalDayToSecondColumn() throws Exception
      Throws:
      Exception
    • testPrimaryKeyChangeReselect

      private void testPrimaryKeyChangeReselect(String keyType, String keyValue) throws Exception
      Types the primary-key change reselection process with a specific key column type and inserted value. Internally the method uses a composite key and the numeric id field is what is mutated, which triggers the LOB-based emitter reselection.
      Parameters:
      keyType - the key column type
      keyValue - the key value to insert
      Throws:
      Exception