Skip to content

Change transaction manager type in default batch configuration #4127

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

Conversation

fmbenhassine
Copy link
Contributor

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 #4126

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
@fmbenhassine
Copy link
Contributor Author

Rebased and merged as 565ddcd.

@fmbenhassine fmbenhassine deleted the change-transaction-manager-type branch October 13, 2022 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change transaction manager type to JdbcTransactionManager in default batch configuration
1 participant