Cursor Leak Leading to ORA-1000 With JDBC Thin Driver 22.214.171.124
Last updated on SEPTEMBER 30, 2016
Applies to:JDBC - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
On : 188.8.131.52.0 version, Thin JDBC driver
Cursor leak with JDBC thin driver 184.108.40.206 .
Using a simple procedure with the new implicit cursors call, a cursor leak is seen with the JDBC Thin driver. This leads to ORA-1000 after some hundred calls to the procedure.
If connected with JDBC OCI, the number of open cursors does not increase.
Below the test case:
ORA-01000: Maximum open cursors exceeded
The issue can be reproduced at will with the following steps:
1. Create the following procedure:
create or replace PROCEDURE test1
OPEN v_cursor FOR
select 1 from DUAL;
2. Invoke it a hundred times from JDBC thin program.
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