Переглянути джерело

put assertUpdates in config

mlnicolas 8 роки тому
батько
коміт
71632b4552
2 змінених файлів з 6 додано та 0 видалено
  1. 4 0
      application.yml
  2. 2 0
      crss-mq-computation/crss-mq-computation-dev2.yml

+ 4 - 0
application.yml

@@ -65,4 +65,8 @@ batch:
   partitionSize:
     amsEmf: 1500
     amsRmf: 1500
+  writer:
+    #Set this to false when using partitioned tables, as it always returns zero for the number or rows updated, which
+    #will cause job to fail
+    assertUpdates: true
 

+ 2 - 0
crss-mq-computation/crss-mq-computation-dev2.yml

@@ -75,6 +75,8 @@ batch:
     mq: 5000
     ssla: 5000
     report: 1
+  writer:
+    assertUpdates: false
 
 mqreport:
   directory: /tmp/