Missing IN Or OUT Parameter At Index:: 6 When Cached Statement Is Reused

(Doc ID 1941089.1)

Last updated on SEPTEMBER 19, 2017

Applies to:

JDBC - Version 11.2.0.4.0 and later
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.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms