I agree that this is not a server side leak. Anybody doing JDBC programming should know to do this, typically using a 'try-catch-finally', with the finally handling the cleanup of the Connection and Statement. As I understand it, if you close a Statement, it will also close any ResultSets that you may have acquired from it so you don't have to close the ResultSet specifically.
On 10/22/2013 6:03 PM, Dave Cramer wrote:
That's rather harsh. How do you see this as introducing a server side leak ? Statements are supposed to be closed by applications as are connections.