Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-7831

Oracle connector failed to work when the table name contains single quote

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.7.0.Beta2
    • None
    • oracle-connector
    • None
    • Critical

      Bug report

      For bug reports, provide this information, please:

      What Debezium connector do you use and what version?

      2.7

      What behaviour do you expect?

      Run normally

      What behaviour do you see?

      Run failed

      Do you see the same behaviour using the latest relesead Debezium version?

      (Ideally, also verify with latest Alpha/Beta/CR version)

      yes

      Do you have the connector logs, ideally from start till finish?

      (You might be asked later to provide DEBUG/TRACE level log)
       
      Could not get DDL metadata for table

      How to reproduce the issue using our tutorial deployment?

      CREATE TABLE debezium_test'
      (
          id NUMBER(10),
          first_name VARCHAR2(50),
          last_name VARCHAR2(50),
          CONSTRAINT pk_debezium_test PRIMARY KEY (id)
      );

      Feature request or enhancement

       
      create PreparedStatement first.

      Implementation ideas (optional)

      use prepareQueryAndMap instead of queryAndMap. I will pull a request.

              ccranfor@redhat.com Chris Cranford
              leoloel xing Leo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: