I've a situation where I've to perform DB operations to 2 different databases as shown below.
stepBuilderFactory.get("some text")
.<POJO,POJO>chunk(200)
.reader(dataReader)
.writer(writeToDB1)
.writer(writeToDB2)
.faultTolerant()
.skipLimit(10)
.skip(DataAccessException.class)
.build();
Only the second writer is getting executed, ignoring the first writer. Can this can be achieved using Spring Batch 3.x
& Spring Boot 1.5.x
?