October 28, 2019

Set Up a Database Dialect in Spring Boot

For setting database dialect in Spring Boot, rely on spring.jpa.properties.hibernate.dialect?property in application.properties. For example, setting the MySQL5Dialect dialect can be done as below: spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect