From 8167a27a6dea3044391877cbab11f4597faa5d94 Mon Sep 17 00:00:00 2001 From: Glenn Renfro Date: Wed, 3 Jul 2024 07:24:21 -0400 Subject: [PATCH] Provide a not in documentation about setting table prefix for JobRepository and Explorer When using the @EnableBatchProcessing annotation in a batch app and the user wants to have a table prefix, they must first set the prefix on the JobRepository and JobExplorers they plan to use. --- .../2-batch/4-data-flow-spring-batch.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/documentation/pages/4-batch-developer-guides/2-batch/4-data-flow-spring-batch.md b/content/documentation/pages/4-batch-developer-guides/2-batch/4-data-flow-spring-batch.md index e1481ed1..2a7e417f 100644 --- a/content/documentation/pages/4-batch-developer-guides/2-batch/4-data-flow-spring-batch.md +++ b/content/documentation/pages/4-batch-developer-guides/2-batch/4-data-flow-spring-batch.md @@ -152,6 +152,13 @@ To launch a task: When the execution is complete, the Status turns to a green color and shows `Complete.` Select the **Executions** tab to view a summary of executions for this task. + + +When creating a Spring Batch 5.x+ application with the `@EnableBatchProcessing` annotation and your app requires that you +set the `TablePrefix`, remember that you must also set it for the `JobRepository` and `JobExplorer` beans. + + + ![Task executions](images/SCDF-batch-executions.png) ### Reviewing the Job Execution