remove setRollbackOnly to test if this causes exception in TaxEditor tests. Also...
authorAndreas Müller <a.mueller@bgbm.org>
Fri, 23 Aug 2019 21:55:24 +0000 (23:55 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Fri, 23 Aug 2019 21:55:24 +0000 (23:55 +0200)
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/common/TaxonNodeOutStreamPartitioner.java

index 416c4968d9b1d78c2e90f6aa4b48bbb438d0e28e..572a6be4af228dbb80f677df6a3901426ef6f462 100644 (file)
@@ -149,9 +149,9 @@ public class TaxonNodeOutStreamPartitioner<STATE extends IoStateBase> {
             commitTransaction();
         }
         txStatus = startTransaction();
-        if (readOnly){
-            txStatus.setRollbackOnly();
-        }
+//        if (readOnly){
+//            txStatus.setRollbackOnly();
+//        }
         while (partList.size() < partitionSize && idIterator.hasNext()){
             partList.add(idIterator.next());
             currentIndex++;