FAQ | This is a LIVE service | Changelog

Skip to content

Replace jdbc template and unnecessary spring usage to Yank (using Apache DBUtils and HikariCP)

Jason Allen requested to merge db-pooling into master

Spring + jdbctemplate was previously used, but this added spring just to enable jdbc templating. It was an antipattern to the static nature of the webdrivers and so needed to be injected everywhere with Guice, otherwise connection exploded. This approach uses a connection pool (backed by HikariCP) and static calls for queries are now possible (no injection needed).

It will be a breaking change, so documentation for migration will be needed.

Merge request reports