Invoking OracleDatabaseMetaData.getColumns Leaks Cursors If Implicit Statement Cache Is Enabled
(Doc ID 2689134.1)
Last updated on DECEMBER 14, 2022
Applies to:JDBC - Version 18.104.22.168.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 22.214.171.124 (vanilla) and above. There is no leak using JDBC driver v126.96.36.199 (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