In-memory repository with Spring Boot [BATCH-2704] #905
Labels
status: declined
Features that we don't intend to implement or Bug reports that are invalid or missing enough details
type: bug
Nicolas Roussel opened BATCH-2704 and commented
There are several problems that prevent users from using an in-memory repository with Spring Boot :
The documentation is incorrect: this one needs a dataSource (https://docs.spring.io/spring-batch/4.0.x/reference/html/index-single.html#inMemoryRepository)
spring-boot-starter-batch depends on HikariCP. Then, DataSourceConfiguration$Hikari tries to create a HikariDataSource... This fails if we have no database.
Adding a MapJobRepositoryFactoryBean doesn't work, it seems that we need to redefine the configurer
To make this work I need to:
Reference URL: https://docs.spring.io/spring-batch/4.0.x/reference/html/index-single.html#inMemoryRepository
The text was updated successfully, but these errors were encountered: