Calling isBeforeFirst() multiple times on a RefCursor ResultSet always returns true
(Doc ID 1497502.1)
Last updated on MARCH 12, 2019
Applies to:
JDBC - Version 11.2.0.2.0 to 11.2.0.3.0 [Release 11.2]Information in this document applies to any platform.
Symptoms
With JDBC 11.2.0.2 and 11.2.0.3 resultSet.isBeforeFirst() always returns true when calling a PL SQL stored procedure that has a ref cursor as an OUT parameter.
If you fetch from a ref cursor in a loop while rs.next(), calling isBeforeFirst(), then it loops indefinitely returning the first row.
The issue does not occur with JDBC 10.2.0.5 or 11.2.0.1.
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 |