Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change transaction manager type to JdbcTransactionManager in default batch configuration #4126

Closed
fmbenhassine opened this issue Jun 8, 2022 · 0 comments

Comments

@fmbenhassine
Copy link
Contributor

fmbenhassine commented Jun 8, 2022

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.

@fmbenhassine fmbenhassine added this to the 5.0.0-M4 milestone Jun 8, 2022
fmbenhassine added a commit to fmbenhassine/spring-batch that referenced this issue Jun 8, 2022
This commits changes the type of the transaction manager
from `DataSourceTransactionManager` to `JdbcTransactionManager`
in the default configuration of `@EnableBatchProcessing`.

The `JdbcTransactionManager` adds common JDBC exception translation
which is beneficial for Spring Batch to improve exception handling
and error reporting.

Issue spring-projects#4126
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant