Vibur DBCP v22.0 Release Notes

Release Date: 2018-02-08 // about 6 years ago
    • โž• Added logLineRegex configuration option - the application can use this option in conjunction with the logTakenConnectionsOnTimeout option in order to filter the generated stack trace lines.
    • โž• Added takenConnectionsFormatter configuration option - allows the application to implement custom formatting to String of the TakenConnection[] array. Note that the default formatter uses the logLineRegex for filtering.
    • โž• Added GetConnectionTimeout programming hook that is invoked only if the call to DataSource.getConnection() timeouts. The application can use this hook to format and redirect the generated taken-connections log to a different than the usual log location, for example, to Amazon S3. Note that in order to enable the taken-connections tracking the application must set poolEnableConnectionTracking to true. The default hook uses the takenConnectionsFormatter; it can be disabled via setting logTakenConnectionsOnTimeout to false.
    • ๐Ÿ›  Fixed a bug in the CloseConnection hook takenNanos parameter calculation, before its value was sometimes incorrect.