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 to [Release 10.1 to 11.1]
Information in this document applies to any platform.
***Checked for relevance on 18-May-2011***


When executing following JDBC code using JDBC/thin  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:


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