From 254b62e0741cd5fdabfffaaca14d60c0f851c35b Mon Sep 17 00:00:00 2001 From: laurtom Date: Thu, 7 Nov 2019 13:23:40 +0200 Subject: [PATCH] MySQLDialect in properties --- src/main/resources/application-eng.properties | 2 ++ src/main/resources/application.properties | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/resources/application-eng.properties b/src/main/resources/application-eng.properties index a74fe62..6a14101 100644 --- a/src/main/resources/application-eng.properties +++ b/src/main/resources/application-eng.properties @@ -21,6 +21,8 @@ spring.datasource.password= spring.datasource.driver-class-name=org.h2.Driver # spring.jpa.hibernate.ddl-auto=none +spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect + #spring.jpa.properties.hibernate.jdbc.batch_size=30 #spring.jpa.properties.hibernate.jdbc.fetch_size=300 #spring.jpa.properties.hibernate.id.new_generator_mappings=true diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 0a591d7..c247e02 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -21,6 +21,8 @@ spring.datasource.password= spring.datasource.driver-class-name=org.h2.Driver # spring.jpa.hibernate.ddl-auto=none +spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect + #spring.jpa.properties.hibernate.jdbc.batch_size=30 #spring.jpa.properties.hibernate.jdbc.fetch_size=300 #spring.jpa.properties.hibernate.id.new_generator_mappings=true