#20 Logging pending resource closing

open
nobody
None
5
2011-04-13
2011-04-13
No

It would be nice to have C3P0 log when it autocloses result sets and statements (this seems to happen in NewPooledConnection, though other classes may be relevant, too).
This would be a real help for those who are switching to C3P0 and see the bugs in their code turn from latent to breakage, but have no idea where to look.
Log level should probably be WARN, since C3P0 will continue to run fine with that condition but the application may not.

Discussion