My Oracle Support Banner

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

Last updated on JUNE 01, 2018

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).


To view full details, 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 a vibrant support community of peers and Oracle experts.