getParameterMetaData() API throws a java.sql.SQLFeatureNotSupportedException

(Doc ID 2341736.1)

Last updated on JANUARY 04, 2018

Applies to:

JDBC - Version 11.2.0.4.0 to 12.2.0.0.0 [Release 11.2 to 12c]
Information in this document applies to any platform.

Symptoms

 The method getParameterMetaData() can be used to get information about the data types and properties for each bind parameter in a PreparedStatement, as illustrated in the following statement

Customers using getParameterMetaData() may encounter SQLFeatureNotSupportedException exception when the JDBC driver cannot parse the statement correctly.

“Exception in thread "main" java.sql.SQLFeatureNotSupportedException: Unsupported feature”

This has been identified as a bug# 23644073.



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