Browse Source

fix create table config

huodongdong 7 years ago
parent
commit
b60e604aa4

+ 1 - 1
prod/product-service-prod.properties

@@ -8,4 +8,4 @@ spring.datasource.password=Lingjiao!@#
 
 spring.jpa.properties.hibernate.hbm2ddl.auto=update
 spring.jpa.properties.hibernate.show_sql=true
-spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
+spring.jpa.properties.hibernate.dialect=cn.rankin.common.utils.jpa.MySQL5DialectUTF8

+ 1 - 1
prod/rankin-task-prod.properties

@@ -8,4 +8,4 @@ spring.datasource.password=Lingjiao!@#
 
 spring.jpa.properties.hibernate.hbm2ddl.auto=update
 spring.jpa.properties.hibernate.show_sql=true
-spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
+spring.jpa.properties.hibernate.dialect=cn.rankin.common.utils.jpa.MySQL5DialectUTF8

+ 1 - 1
prod/resource-service-prod.properties

@@ -8,7 +8,7 @@ spring.datasource.password=Lingjiao!@#
 
 spring.jpa.properties.hibernate.hbm2ddl.auto=update
 spring.jpa.properties.hibernate.show_sql=true
-#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
+#spring.jpa.properties.hibernate.dialect=cn.rankin.common.utils.jpa.MySQL5DialectUTF8
 spring.jpa.properties.hibernate.dialect=cn.rankin.common.utils.jpa.MySQL5DialectUTF8
 
 # ali oss config

+ 1 - 1
prod/trade-service-prod.properties

@@ -8,4 +8,4 @@ spring.datasource.password=Lingjiao!@#
 
 spring.jpa.properties.hibernate.hbm2ddl.auto=update
 spring.jpa.properties.hibernate.show_sql=true
-spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
+spring.jpa.properties.hibernate.dialect=cn.rankin.common.utils.jpa.MySQL5DialectUTF8

+ 1 - 1
prod/user-service-prod.properties

@@ -8,4 +8,4 @@ spring.datasource.password=Lingjiao!@#
 
 spring.jpa.properties.hibernate.hbm2ddl.auto=update
 spring.jpa.properties.hibernate.show_sql=true
-spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
+spring.jpa.properties.hibernate.dialect=cn.rankin.common.utils.jpa.MySQL5DialectUTF8