wanghongkai 6 năm trước cách đây
mục cha
commit
da5d8481b6
1 tập tin đã thay đổi với 2 bổ sung và 1 xóa
  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
     database-platform: org.hibernate.dialect.MySQL57InnoDBDialect
 #    show-sql: true
-#    properties:
+    properties:
+      hibernate.enable_lazy_load_no_trans: true
 #      hibernate.format_sql: true
   security:
     user: