My Oracle Support Banner

Invalid Cursor Exception When Executing Stored Proceduce From JDBC Application (Doc ID 2706576.1)

Last updated on AUGUST 30, 2023

Applies to:

JDBC - Version and later
Information in this document applies to any platform.


An application running on Websphere Application Server and using JDBC calls many Oracle stored procedures.
The application randomly reports "Invalid Cursor" exceptions on one of the stored procedures. When the application server is restarted, the exception is not seen for some time, and then it reappears.

java.sql.SQLException: ORA-01001: invalid cursor


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

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