Compared to DataSourceTransactionManager, the JdbcTransactionManager adds common JDBC exception translation which can be beneficial for Spring Batch to improve exception handling and error reporting.
This issue is to change the type of the transaction manager from DataSourceTransactionManager to JdbcTransactionManager in the default configuration of @EnableBatchProcessing.