0

Using Spring Batch's JDBCTemplate, I am trying to write data on Oracle DB. Is there any failover mechanism which can help me to process other requests if one query fails to execute ?

1 Answers1

0

Catch the exception in your batch writer and log as bad records instead of throwing the exception. This will allow next chunk/batch to execute.

Tech Guy
  • 417
  • 2
  • 7
  • 23