Parameter Metadata Not Returned When A Predicate Involves A Constant Literal And Parameter Marker (Doc ID 1682446.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

JDBC 12.1.0.1 driver reports incorrect value for ParameterMetaData getParameterMetaData()
The issue is specific to version 12.1.0.1 as JDBC 10.2, 11.1 and 11.2 JDBC drivers reports the correct value.

 

For example:

the ParameterMetaData.getParameterCount() returns the parameter count as 1 instead of 2.
The parser does not identify the column name 'A'.


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