My Oracle Support Banner

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 to [Release 11.2 to 12.1]
Information in this document applies to any platform.


When a PLSQL procedure is invoked from an application server like Websphere or Tomcat using JDBC 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.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.