views:

98

answers:

1

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?

A: 

OK I see that statements are closed by dbcp in DelegatingConnection.passivate() and DelegatingStatement.close() closes the resultsets.

Tahir Akhtar