SpringBatch does rollback though no-rollback-exception-classes are defined
问题 I got the following job: <batch:job id="importCardsJob" job-repository="jobRepository"> <batch:step id="importCardStep"> <batch:tasklet transaction-manager="transactionManager"> <batch:chunk reader="cardItemReader" writer="cardItemWriter" commit-interval="5" skip-limit="10"> <batch:skippable-exception-classes> <batch:include class="java.lang.Throwable" /> </batch:skippable-exception-classes> </batch:chunk> <batch:no-rollback-exception-classes> <batch:include class="job.batch.exceptions