Conner Babb

Results 3 comments of Conner Babb

https://stackoverflow.com/questions/37436658/spring-batch-table-prefix-when-using-java-config

Extending DefaultBatchConfigurer with your configuration and overriding createJobRepository() should allow you to set a datasource explicitly when there are two datasources and even while using SpringBatchTest and SpringBootTest in combination...

In order to DELETE job executions try something like this: ``` @Autowire @Qualifier("batchDataSource") Datasource batchDataSource @BeforeEach public void cleanUp() throws SQLException { batchDataSource.getConnection().prepareCall(" ***SQL HERE*** ").execute(); } ``` There should...