REOPENED - BATCH-715: Default value of saveState flag should be true

changed the default value for ItemWriters
This commit is contained in:
robokaso
2008-07-08 07:46:54 +00:00
parent bbf2e2dc7a
commit a61b725bc2
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ public class FlatFileItemWriter extends ExecutionContextUserSupport implements I
private FieldSetCreator fieldSetCreator;
private boolean saveState = false;
private boolean saveState = true;
private boolean shouldDeleteIfExists = true;

View File

@@ -109,7 +109,7 @@ public class StaxEventItemWriter extends ExecutionContextUserSupport implements
// current count of processed records
private long currentRecordCount = 0;
private boolean saveState = false;
private boolean saveState = true;
// holds the list of items for writing before they are actually written on
// #flush()