From 1dc2ebc11c604a60415c9a039adf209227d5fb38 Mon Sep 17 00:00:00 2001 From: dhgarrette Date: Wed, 1 Apr 2009 00:01:27 +0000 Subject: [PATCH] Moved job-repository= from to since it is not allowed on an inline step (only on a standalone step). --- src/site/docbook/reference/step.xml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/site/docbook/reference/step.xml b/src/site/docbook/reference/step.xml index 9e935032b..b78875bc3 100644 --- a/src/site/docbook/reference/step.xml +++ b/src/site/docbook/reference/step.xml @@ -76,9 +76,9 @@ the Spring Batch namespace can be used: - <job id="sampleJob"> + <job id="sampleJob" job-repository="jobRepository"> <step id="step1"> - <tasklet job-repository="jobRepository" transaction-manager="transactionManager"> + <tasklet transaction-manager="transactionManager"> <chunk reader="itemReader" writer="itemWriter" commit-interval="10"/> <tasklet> </step> @@ -110,7 +110,10 @@ that will be used to periodically store the StepExecution and ExecutionContext during processing (just - before committing). + before committing). For an in-line <step/> (one defined + within a <job/>) it is an attribute on the <job/> + element; for a standalone step, it is defined as an attribute of + the on the <tasklet/>. @@ -600,7 +603,7 @@ the Step can be configured with a list of exceptions that should not cause rollback. The no-rollback-exception-classes element is a list of transaction - attributes, separated by commas or newlines. + attributes, separated by commas or newlines. <step id="step1">