huodongdong 6 years ago
parent
commit
7d271f4b55
1 changed files with 2 additions and 1 deletions
  1. 2 1
      prod/resource-service-prod.properties

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

@@ -8,7 +8,8 @@ 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=org.hibernate.dialect.MySQL5Dialect
+spring.jpa.properties.hibernate.dialect=cn.rankin.common.utils.jpa.MySQL5DialectUTF8
 
 # ali oss config
 ali.oss.endpoint=oss-cn-beijing.aliyuncs.com