Statement.cancel() Leaks Cursor on Database
Last updated on AUGUST 03, 2016
Applies to:JDBC - Version 22.214.171.124.0 and later
Information in this document applies to any platform.
A java application uses Statement.cancel() calls to interrupt long running queries and other database operations.
Each cancel request causes a cursor to leak on the database, which can eventually lead to an ORA-01000 : maximum open cursors exceeded error.
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