Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Change the default JDBC connection pool to Hikari #6013
2.0 gives us an opportunity to re-evaluate the default connection pool. We currently use Tomcat JDBC. That's a bit awkward when a war's deployed to Tomcat (
As you may know, DBCP2 is default connection pool library from Tomcat 8.0.
I am wondering about why tomcat-jdbc is not default connection pool even in Tomcat. The reason can be helpful to the choice of Spring Boot 2.0. I guess that it is because of DBCP2's reliability and stability.
changed the title from
Reevaluate the default JDBC connection pool
Change the default JDBC connection pool to Hikari
Aug 30, 2016
@wilkinsona are the any way to re-order the list programatically o by config? We are actually building and starter with Hikari dependency. However when an app include own starter and tomcat-pool obviously spring boot chose the second one. I try register programatically by using BeanDefinitionRegistryPostProcessor and BeanPostProcessor without success