Browse Source

init commit

wangyc 7 years ago
parent
commit
e6425f218f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/resources/application.yml

+ 3 - 3
src/main/resources/application.yml

@@ -1,6 +1,6 @@
 spring:
   profiles:
-      active: dev
+      active: test
   jpa:
   database: MYSQL
   show-sql: false
@@ -8,8 +8,8 @@ spring:
    hibernate:
     dialect: org.hibernate.dialect.MySQL5Dialect
     cache:
-      region:
-      factory_class: org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
+     region:
+      factory_class: org.hibernate.cache.ehcache.EhCacheRegionFactory
     hbm2ddl:
      auto: update