-
Notifications
You must be signed in to change notification settings - Fork 40.7k
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 |
Sample at https://github.com/joshlong-attic/2024-11-20-batch-job-repository
The text was updated successfully, but these errors were encountered: