My Oracle Support Banner

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

Last updated on FEBRUARY 25, 2021

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

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
Symptoms
Cause
Solution
References


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