Vibur DBCP v14.0 Release Notes

Release Date: 2016-12-22 // over 7 years ago
    • ➕ Added programming hooks for StatementExecution and ResultSetRetrieval which allow the application to receive notifications for all executed queries, their parameters (if enabled), and the queries execution time or the retrieved ResultSet size, respectively.
    • Extended the GetConnection and CloseConnection programming hooks with information for the time taken to get a Connection from the pool or the time for which the application has held the Connection before restoring it back to the pool, i.e., before calling Connection.close();
    • 🌲 Reimplemented the existing functionality of ViburLogger for logging of long lasting getConnection() calls, slow SQL queries, and large ResultSets through the above programming hooks. Removed ViburLogger interface and the implementing it BaseViburLogger class.
    • 📇 Renamed MethodHooksHolder to InvocationHooksHolder as well as the corresponding field in ViburConfig. Example of how to add a method invocation hook: viburDataSource.getInvocationHooks().addOnMethodInvocation(invocationHook);

    • Now all timing measurement in Vibur DBCP is done via System.nanoTime() instead of System.currentTimeMillis() and all logging that contains timing is formatted in milliseconds with up to 6 digits precision.

    • 🔨 Various other refactoring and source code clean-up.