The SQL dialect makes Hibernate generate better SQL for the chosen database

设置 MySQL 方言例子

1
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect

更多方言列表

http://docs.jboss.org/hibernate/orm/current/javadocs/org/hibernate/dialect/package-summary.html