Skip to content

Simplify the ability to configure a custom TransactionManager with java config [BATCH-2705] #903

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

Closed
spring-projects-issues opened this issue Mar 22, 2018 · 1 comment
Labels
in: core status: duplicate Issues that are duplicates of other issues type: enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Michael Minella opened BATCH-2705 and commented

Currently if you want to customize only the TransactionManager provided via the BatchConfigurer, you need to re-implement the entire BatchConfigurer instead of just overriding something in the DefaultBatchConfigurer. The example use case here is to configure a HibernateTransactionManager. Everything else in the DefaultBatchConfigurer applies, but since we refer directly to the private class level variables, there isn't a way to override what TransactionManager is used across components.


Affects: 4.0.1

Referenced from: pull request #415

@spring-projects-issues
Copy link
Collaborator Author

Michael Minella commented

Duplicate of BATCH-2294

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core status: duplicate Issues that are duplicates of other issues type: enhancement
Projects
None yet
Development

No branches or pull requests

1 participant