Specifically, when I return a connection to the pool, does dbcp (and other connection pools) close the statements and resultsets for me?
Or should I be closing these myself?
Specifically, when I return a connection to the pool, does dbcp (and other connection pools) close the statements and resultsets for me?
Or should I be closing these myself?
OK I see that statements are closed by dbcp in DelegatingConnection.passivate() and DelegatingStatement.close() closes the resultsets.