xiongzhu 3 anni fa
parent
commit
a55425cc7b
1 ha cambiato i file con 5 aggiunte e 4 eliminazioni
  1. 5 4
      src/main/resources/application.yaml

+ 5 - 4
src/main/resources/application.yaml

@@ -95,12 +95,13 @@ spring:
       ddl_auto: update
     properties:
       hibernate:
+        generate_statistics: true
         enable_lazy_load_no_trans: true
+        order_inserts: true
+        order_updates: true
+        fetch_size: 400
         jdbc:
-          batch_size: 100
-          order_inserts: true
-          order_updates: true
-          fetch_size: 400
+          batch_size: 30
     open-in-view: true
   servlet:
     multipart: