浏览代码

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/