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

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

Closed
spring-issuemaster opened this issue Mar 22, 2018 · 1 comment

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Mar 22, 2018

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-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Aug 14, 2018

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
Projects
None yet
1 participant
You can’t perform that action at this time.