DB:
$ mysql --version mysql Ver 14.14 Distrib 5.6.27, for osx10.10 (x86_64) using EditLine wrapper
Spring Boot: 2.1.1.RELEASE
The
Another way is to put into the file application.properties the next line:
application.properties
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
It comes as an option in: https://www.baeldung.com/mysql-jdbc-timezone-spring-boot