No Columns Returned From DatabaseMetadata.getColumns() After "includeSynonyms" Set On Connection With JDBC 12.1.0.2 (Doc ID 2190260.1)

Last updated on OCTOBER 07, 2016

Applies to:

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

Symptoms

On : 12.1.0.2.0 version, Thin JDBC driver

ACTUAL BEHAVIOR
---------------
No columns returned from DatabaseMetadata.getColumns() after "includeSynonyms" set on Connection .

DatabaseMetadata.getColumns() does not return list of columns for views after "includeSynonyms" option was set on Connection.
DatabaseMetadata.getColumns() returns list of columns for views if "includeSynonyms" option is NOT set on Connection.



closing connection ...



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