Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
ResultSet rs = dbm.getTables(null, null, JDBCStatsUtils.getStatTableName(), null); boolean tblExists = rs.next();
rs is not closed upon return from init()
If stmt.executeUpdate() throws exception, stmt.close() would be skipped - the close() call should be placed in finally block.