My Oracle Support Banner

Statement.cancel() Leaks Cursor on Database (Doc ID 1558622.1)

Last updated on JUNE 04, 2018

Applies to:

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

Symptoms

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.

Changes

 

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