spring: batch: job: # ImportRunner drives the job explicitly through JobOperator. The auto-configured # JobLauncherApplicationRunner would ALSO launch every Job bean it finds, using # parameterless defaults -- turning this off avoids running the job twice on every startup. enabled: false jdbc: initialize-schema: always datasource: url: jdbc:h2:file:./data/batchdb;AUTO_SERVER=TRUE username: sa password: "" driver-class-name: org.h2.Driver sql: init: mode: always schema-locations: classpath:schema.sql logging: level: org.springframework.batch: INFO