Category: Programming
Spring Framework Logo

Note on migrating Spring Boot 1.5 to 2.0

1. Useful links First of all, you should read recommended links: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Release-Notes https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Configuration-Changelog https://spring.io/blog/2017/06/20/a-preview-on-spring-data-kay#improved-naming-for-crud-repository-methods 2. Tips and solution for problems Table ‘hibernate_sequence’ doesn’t exist Solution: Add config spring.jpa.properties.hibernate.id.new_generator_mappings=false Spring Boot 2.0 use HikariCP by default, so you should add config for HikariCP Solution: Add config…