5

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?

skaffman
  • 398,947
  • 96
  • 818
  • 769
Tahir Akhtar
  • 11,385
  • 7
  • 42
  • 69

1 Answers1

5

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

Tahir Akhtar
  • 11,385
  • 7
  • 42
  • 69