CompositeItemWriter « Batch « Spring Q&A

Problems Restart with CompositeItemWriter We have a problem with CompositeItemWriter. In particular, we can not handle restart. Following an error, the table is stored BATCH_STEP_EXECUTION_CONTEXT only the outcome of writing the ...

CompositeItemWriter - Register all delegate writers as streams dynamically Based on my understanding in order to write data to multiple destinations (text file) you will use the CompositeItemWriter class. Also, all ...

Hi, I'm trying to use CompositeItemWriter with 2 writers of type BatchSqlUpdateItemWriter. When flushing, CompositeItemWriter delegates the flush to the two writers. BatchSqlUpdateItemWriter (AbstractTransactionalResourceItemWriter) flush is calling unbindTransactionResources. Then the second ...

Two BatchSqlUpdateItemWriters in CompositeItemWriter I'm trying to use CompositeItemWriter with 2 writers of type BatchSqlUpdateItemWriter.(Two BatchSqlUpdateItemWriter have different filter conditions) When flushing, CompositeItemWriter delegates the flush to the two writers. BatchSqlUpdateItemWriter. ...

CompositeItemWriter writing to multiple files Hi, Is there a way to conditionally write records into different files based on their certain criteria? I have started testing with 2 types of records. ...

CompositeItemWriter not registering StepExecutionListener Hi All, I may be doing this incorrectly; but it seems CompositeItemWriter does not register the StepExecutionListener correctly if one it's delegate ItemWriter implements the StepExecutionListener interface. ...