I have a project that uses Tomcat JDBC connection pool.
According to the JDK specification, the Connection.close() method should release the resources of the connection, like Statement and ResultSet.
I know that when using connection from pool, the close() method will be overriden to release the connection back to pool. I wonder if this overridden method should properly close the related resources or not.
Tomcat JDBC connection pool does not release the resources, and I need to explicitly close all resources in my code.
Are there any other pool implementation that properly close all related resources when calling Connection.close()?