sunyanyong created FLINK-32697:
----------------------------------
Summary: When using JDBC to insert data into the oracle database,
an error will be reported if the target field is lowercase,
Key: FLINK-32697
URL: https://issues.apache.org/jira/browse/FLINK-32697
Project: Flink
Issue Type: Bug
Components: Connectors / JDBC
Affects Versions: jdbc-3.1.1
Reporter: sunyanyong
Attachments: image-2023-07-27-10-39-31-884.png
When using JDBC to insert data into the oracle database, if the target field is
lowercase, an error will be reported.
An example input format is "insert into tableName(ID, `"name"`) values(1,
'test')".
The reason for the error is that there is a problem with the judgment logic in
the
FieldNamedPreparedStatementImpl.java. The judgment logic will treat double
quotes as delimiters.
!image-2023-07-27-10-39-31-884.png!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)