Invoking OracleDatabaseMetaData.getColumns Leaks Cursors If Implicit Statement Cache Is Enabled
(Doc ID 2689134.1)
Last updated on AUGUST 09, 2023
Applies to:JDBC - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
Invoking OracleDatabaseMetaData.getColumns() leaks cursors if implicit statement cache is enabled with JDBC drivers 18.104.22.168 (vanilla) and above. There is no leak using JDBC driver v22.214.171.124 (vanilla) or if implicit statement caching is turned off. A cursor dump shows that the cursors are opened by the internal implementation of the driver. Closing the ResultSet returned by the method does not close the cursor, nor is ResultSet.getStatement().close().
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