Invalid Column Index When a Table Contains a Column Named "JSON"
(Doc ID 2887307.1)
Last updated on AUGUST 09, 2023
Applies to:
JDBC - Version 21.3 and laterInformation in this document applies to any platform.
Symptoms
JDBC code fails with the error java.sql.SQLException: Invalid column index when the prepared update statement includes a column that is named JSON with the 21.3 driver.
Example of SQL statement:
This is related to a column name in the table. The column name is "json". When renaming the column to something else, the update works.
This issue only affects JDBC 21c drivers and does not affect older drivers.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |