1
0
wanghongkai 5 سال پیش
والد
کامیت
da5d8481b6
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/main/resources/application.yml

+ 2 - 1
src/main/resources/application.yml

@@ -13,7 +13,8 @@ spring:
         physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
         physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
     database-platform: org.hibernate.dialect.MySQL57InnoDBDialect
     database-platform: org.hibernate.dialect.MySQL57InnoDBDialect
 #    show-sql: true
 #    show-sql: true
-#    properties:
+    properties:
+      hibernate.enable_lazy_load_no_trans: true
 #      hibernate.format_sql: true
 #      hibernate.format_sql: true
   security:
   security:
     user:
     user: