ORA-01000 and ORA-00942 When Using JDBC 12.1 Drivers on SQL statements Related to ParameterMetaData (Doc ID 1997925.1)

Last updated on FEBRUARY 24, 2017

Applies to:

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


JDBC application using JDBC/thin ( ojdbc7.jar) fails with either :

ORA-1000: maximum open cursors exceeded


ORA-942: table or view does not exist

while calling ParameterMetaData getParameterMetaData().

The SQL statements involved with the cursor issue and missing table are generated by the JDBC driver metadata not the application code.

The issue does not reproduce in JDBC (ojdbc6.jar).


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