Spring Batch Table Prefix when using Java Config
问题 My Spring Batch repository (deployed on an Oracle database) lies in a different schema such that I need to prepend the schema name. When using XML configuration, this would be easy to do: <job-repository id="jobRepository" table-prefix="GFA.BATCH_" /> However, as I use Java Config, this turns out to be more tricky. The best solution I found is to have my Java Config class extend DefaultBatchConfigurer and override the createJobRepository() method: @Configuration @EnableBatchProcessing public