I\'m using Apache Commons DBCP. There is a task to track the inner behavior of the DBCP - number of active and idle connections.
I found out that DBCP lacks any such lo
If you have access to the DataSource object, you can cast it to BasicDataSource and get the maxIdle and maxActive connections using getNumActive() and getNumIdle() methods.
maxIdle
maxActive
getNumActive()
getNumIdle()