JDBC Thin Driver Shows Bad Database Version When Using DatabaseMetaData.getDatabaseProductVersion() (Doc ID 875074.1)

Last updated on SEPTEMBER 01, 2014

Applies to:

JDBC - Version 10.1.0.2 to 11.1.0.6 [Release 10.1 to 11.1]
Information in this document applies to any platform.
***Checked for relevance on 18-May-2011***


Symptoms

When executing following JDBC code using JDBC/thin 11.1.0.6  or using any JDBC 10g driver:

DatabaseMetaData dmd = connection.getMetaData();
dbmsProductString = dmd.getDatabaseProductVersion();

and you connect to an 11g database you will get following output:

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