-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Add auto-configuration for Spring Batch's MongoJobRepository #43236
Comments
This bug exists in earlier versions, but given it's mostly going to be triggered by the new |
The sample now appears to start if: <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-batch</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</exclusion>
</exclusions>
</dependency> and @Bean
MongoTransactionManager mongoTransactionManager(MongoDatabaseFactory dbf) {
return new MongoTransactionManager(dbf);
} |
@mbhave pointed out that That might need to wait until 3.5, in which case we could revert my "fix" in 3.4 |
Chatting with @fmbenhassine, this may need to wait for Spring Boot 4.0/Spring Batch 6.0 to allow some breaking changes to be made, such as |
Sample at https://github.com/joshlong-attic/2024-11-20-batch-job-repository
The text was updated successfully, but these errors were encountered: