Vibur DBCP is a concurrent and dynamic JDBC connection pool library. Many new features and improvements were introduced since release 1.0, most important of which are:
* Reporting of slow SQL queries now includes the concrete queries parameters.
* Fixes and improvements in the JDBC statements caching model.
* Now built and distributed as a valid R4 OSGi bundle.
* Implemented Hibernate 4.3+ integration (into a separate project).
The complete list of all new features and improvements can be seen on the Vibur DBCP website.
Yes, I'm thinking that this feature is very useful, particularly when one has the concrete SQL query parameters, so that he can reproduce the exact slow running query via an SQL console. Note that the source code location (as a stack trace) from where the query has been executed is also logged.