PreparedStatement fails with "Not all return parameters registered" when "returning" in column name of DML statement
(Doc ID 1091003.1)
Last updated on JUNE 05, 2023
Applies to:
JDBC - Version 11.1.0.7 and laterInformation in this document applies to any platform.
Symptoms
When using JDBC 11.1.0.7 a PreparedStatement fails with "java.sql.SQLException: Not all return parameters registered" when executing a DML statement that has "returning" in a column name. "Not all return parameters registered" is the text for ORA-17173.
An example of code that fails with "Not all return parameters registered" is:
This problem does not occur in JDBC 11.1.0.6 or JDBC 11.2.0.1.
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! |