REOPENED - BATCH-715: Default value of saveState flag should be true
changed the default value for ItemWriters
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user