-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
DatabaseType EnterpriseDb not found in spring batch 5.1 #4681
Comments
Hi @fmbenhassine Could you please assist me here? |
I think you should use |
Hi @fmbenhassine , Thank you for quick response. Below is my BatchConfigurer for your reference. @slf4j @Autowired DataSource dataSource; @Autowired private EntityManagerFactory entityManagerFactory; static final String ISOLATION_LEVEL = "ISOLATION_DEFAULT"; @bean
} @bean @bean @bean |
I have tried using the @EnableBatchProcessing annotation as well however, after adding it, I am seeing the following in the PCF logs. According to this, it is not considering the JobRepository bean, which is created explicitly, even after adding the allow-bean-definition-overriding: true property in application.yml Bean jobRepository already defined in the application context, skipping the registration of a jobRepository |
Hi Team,
We have migrated our project to Spring Boot 3.2.5. As part of this migration, Spring Batch has also been updated. However, we are noticing that Spring Batch is failing with the driver "com.edb.Driver." I have set the databaseType to "POSTGRES," but it is still failing. I have tried using a custom CustomJobRepositoryFactoryBean, but the issue persists. Is there any workaround to fix this issue in version 5.1?
Below is the workaround I tried.
The text was updated successfully, but these errors were encountered: