This is my code:
<chunk reader="READER" writer="WRITER"
commit-interval="1000" skip-limit="1000">
<skippable-exception-classes>
<include class="java.lang.Exception"/>
</skippable-exception-classes>
</chunk>
Log Stacktrace:
org.springframework.batch.retry.ExhaustedRetryException: Retry exhausted after last attempt in recovery path, but exception is not skippable.; nested exception is org.springframework.jdbc.UncategorizedSQLException: PreparedStatementCallback; uncategorized SQLException for SQL [ MERGE INTO FHD_GTGT_GEN_TXN_X TXN USING (
I want to understand what is : "exception is not skippable" and how can I make this piece of code to work? Currently, the step is failing leading to termination of the job.
Spring Batch: spring-batch-2.1.xsd