I am getting error Table ‘test.batch_job_instance’ doesn’t exist
If you are using Sprint boot a simple property in your application.properties will solve the issue spring.batch.initialize-schema=ALWAYS
If you are using Sprint boot a simple property in your application.properties will solve the issue spring.batch.initialize-schema=ALWAYS
A few pointers: Spring Batch HelloWorld Spring Batch “Hello World” 1 Spring Batch “Hello World” 2 A first look at Spring Batch (via archive.org) A first look at Spring Batch, part 2 (via archive.org) Spring Batch : Hello World!
the job repository is used indirectly for passing data between steps (Jean-Philippe is right that the best way to do that is to put data into the StepExecutionContext and then use the verbosely named ExecutionContextPromotionListener to promote the step execution context keys to the JobExecutionContext. It’s helpful to note that there is a listener for … Read more