ORA-01000: Maximum Open Cursors Exceeded With OracleDatabaseMetaData.getTables In JDBC 12.1.0.2 (Doc ID 1939417.1)

Last updated on JUNE 27, 2017

Applies to:

JDBC - Version 12.1.0.1.0 to 12.1.0.1.0 [Release 12.1]
Information in this document applies to any platform.

Symptoms

On JDBC driver version 12.1.0.2.0 ONLY, when oracle.jdbc.OracleDatabaseMetaData.getTables is used extensively, the following error occurs:

 ORA-01000: maximum open cursors exceeded

Below SQL statement is found to be opening the cursors and causing the error to eventually occur.

 

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