My Oracle Support Banner

Database 11gR2 Returning Different Error To The JDBC Application ORA-604 Instead Of ORA-1000 (Doc ID 1328537.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle Spatial and Graph - Version 11.2.0.2 and later
Information in this document applies to any platform.

Symptoms

An application that connects to the database using jdbc

When connecting to a 10.2.0.5.0 database
The application received the returning values this way:

toString(): java.sql.SQLException: ORA-01000: maximum open cursors exceeded
getErrorCode(): 1000
getSQLState(): 72000
getNextException(): null

When connecting to an 11.2.0.2.0 database the error received is not ORA-1000 but ORA-604:

toString(): java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-00604: error occurred at recursive SQL level 1
ORA-01000: maximum open cursors exceeded
ORA-01000: maximum open cursors exceeded

getErrorCode(): 604
getSQLState: 60000
getNextException(): null

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.