Repository navigation
Spring Boot 1.4.0 M1 Release Notes
Classes, methods and properties that were deprecated in Spring Boot 1.3 have been removed in this release. Please ensure that you aren’t calling deprecated methods before upgrading.
In particular, log4j 1 support has been removed following Apache EOL announcement
Prior to Spring Boot 1.4, auto-configured datasources were bound to the spring.datasource namespace. In 1.4, we only bind the common settings to spring.datasource (see DataSourceProperties) and we have defined new specific namespaces for the four connections pools we support (in that order):
-
spring.datasource.tomcatfororg.apache.tomcat.jdbc.pool.DataSource -
spring.datasource.hikariforcom.zaxxer.hikari.HikariDataSource -
spring.datasource.dbcpfororg.apache.commons.dbcp.BasicDataSource -
spring.datasource.dbcp2fororg.apache.commons.dbcp2.BasicDataSource
If you were using specific settings of the connection pool implementation, you will have to move that configuration to the specific namespace. For instance, if you were using Tomcat’s testOnBorrow flag, you’ll have to move it from spring.datasource.test-on-borrow to spring.datasource.tomcat.test-on-borrow.
If you are using configuration assistance in your IDE, you can see which settings are available per connection pools rather than having all of them mixed in the spring.datasource namespace.
|
Tip
|
Check the configuration changelog for a complete overview of the changes in configuration. |