0

Is Spring Batch JpaItemWriter stateful? i mean if through writing process a failure happened does it know where is that left?

1 Answers1

0

No. The JpaItemWriter maintains no state. State for a failure is handled at the reader side of the step in most cases (since it's the one providing the items to be written).

Michael Minella
  • 20,843
  • 4
  • 55
  • 67