Missing IN Or OUT Parameter At Index:: 6 When Cached Statement Is Reused
(Doc ID 1941089.1)
Last updated on NOVEMBER 23, 2021
Applies to:
JDBC - Version 11.2.0.4.0 to 12.1.0.2.0 [Release 11.2 to 12.1]Information in this document applies to any platform.
Symptoms
When a PLSQL procedure is invoked from an application server like Websphere or Tomcat using JDBC 11.2.0.4 or 12C, it fails with the following error:
java.sql.SQLException: Missing IN or OUT parameter at index:: 6
Making one call to overloaded procedure and then another to the different version where the parameter has changed from IN to OUT results in the error.
The issue does not occur when retrying or when disabling statement caching.
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 |
Cause |
Solution |
References |