Skip to content

Add support to specify the database type through EnableBatchProcessing #4320

Closed
@fmbenhassine

Description

@fmbenhassine

As of v5.0.1, there is no way to specify the database type through @EnableBatchProcessing. It should be possible to specify that parameter like other parameters, for example:

@Configuration
@EnableBatchProcessing(tablePrefix="Test", databaseType="Oracle")
public class MyBatchJobConfiguration {

}

The workaround to this is to manually customize the job repository bean by using JobRepositoryFactoryBean#setDatabaseType.


Reference: https://stackoverflow.com/questions/75622056/issue-during-spring-batch-upgrade/75625032?noredirect=1#comment133462153_75625032

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions