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

DefaultBatchConfigurer warns about the lack of TransactionManager provided, yet offers no way to supply it #763

Closed
spring-projects-issues opened this issue Oct 19, 2019 · 1 comment

Comments

@spring-projects-issues
Copy link
Collaborator

Kyrill Alyoshin opened BATCH-2851 and commented

DefaultBatchConfigurer class logs a warning message on the start of the container: "No transaction manager was provided, using a DataSourceTransactionManager".

Yes, the same class provides no way for the client to set the transaction manager inside DBC. There should be a setter method somewhere or a proper constructor provided.


Affects: 4.1.2

@fmbenhassine fmbenhassine added this to the 5.0.0 milestone Jan 26, 2021
@fmbenhassine
Copy link
Contributor

This has been resolved as part of f8bdf55#diff-cb15a7f565f05a4821184ebb407abd9f8e75480f2a6bac7f7c73fabe571ca553R71. The transaction manager can now be specified through a constructor.

@fmbenhassine fmbenhassine changed the title DefaultBatchConfigurer warns about the lack of TransactionManager provided, yet offers no way to supply it [BATCH-2851] DefaultBatchConfigurer warns about the lack of TransactionManager provided, yet offers no way to supply it Aug 27, 2021
@fmbenhassine fmbenhassine modified the milestones: 5.0.0, 5.0.0-M1 Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants