JDBC Connection pooling using C3P0
With a pooled data source, the connections in the pool are not actually closed, they just get returned to the pool. However, when the application is shut down, those connections to the database should be properly and actually closed, which is where the final cleanup comes in. Incidentally, the c3p0 project is pretty much dead … Read more