spring-batch icon indicating copy to clipboard operation
spring-batch copied to clipboard

Add support to validate job repository configuration

Open fmbenhassine opened this issue 5 months ago • 0 comments

As of v5.2, it is assumed that the job repository is correctly configured and there is no pre-validation that everything is setup correctly before running a job. Therefore, any mis-configuration of the job repository results in SQL exceptions or NPE like this or #4811 .

The goal of this issue to explore the best way/place to check the configuration of the chosen job repository upfront and fail fast with an informative BatchConfigurationException rather than an SQL exception or a NPE.

fmbenhassine avatar Jun 09 '25 08:06 fmbenhassine