diff --git a/spring-batch-samples/src/main/resources/jobs/batchUpdateJob.xml b/spring-batch-samples/src/main/resources/jobs/batchUpdateJob.xml index b6d98cb9e..26517580c 100644 --- a/spring-batch-samples/src/main/resources/jobs/batchUpdateJob.xml +++ b/spring-batch-samples/src/main/resources/jobs/batchUpdateJob.xml @@ -22,8 +22,8 @@ - - + + @@ -31,7 +31,7 @@ - + diff --git a/spring-batch-samples/src/site/apt/index.apt b/spring-batch-samples/src/site/apt/index.apt index 8c7e9d27b..6f01ec3ab 100644 --- a/spring-batch-samples/src/site/apt/index.apt +++ b/spring-batch-samples/src/site/apt/index.apt @@ -135,10 +135,10 @@ Spring Batch Samples * Batch Update ({batchUpdate}) The purpose of this sample is to show to usage of the - <<>> to make efficient updates to a + <<>> to make efficient updates to a database table. - The <<>> accepts a special form of + The <<>> accepts a special form of <<>> as a (mandatory) dependency. This is responsible for copying fields from the item to be written to a <<>> matching the SQL query that has been diff --git a/spring-batch-samples/src/test/java/org/springframework/batch/sample/BatchSqlUpdateJobFunctionalTests.java b/spring-batch-samples/src/test/java/org/springframework/batch/sample/JdbcBatchJobFunctionalTests.java similarity index 62% rename from spring-batch-samples/src/test/java/org/springframework/batch/sample/BatchSqlUpdateJobFunctionalTests.java rename to spring-batch-samples/src/test/java/org/springframework/batch/sample/JdbcBatchJobFunctionalTests.java index 340325441..5fe58328c 100644 --- a/spring-batch-samples/src/test/java/org/springframework/batch/sample/BatchSqlUpdateJobFunctionalTests.java +++ b/spring-batch-samples/src/test/java/org/springframework/batch/sample/JdbcBatchJobFunctionalTests.java @@ -5,12 +5,12 @@ import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; /** - * Test for BatchSqlUpdateJob - checks that customer credit has been updated to expected value. + * Test for JdbcBatchItemWriterJob - checks that customer credit has been updated to expected value. * * @author Robert Kasanicky */ @RunWith(SpringJUnit4ClassRunner.class) @ContextConfiguration -public class BatchSqlUpdateJobFunctionalTests extends AbstractCustomerCreditIncreaseTests { +public class JdbcBatchJobFunctionalTests extends AbstractCustomerCreditIncreaseTests { } diff --git a/spring-batch-samples/src/test/resources/org/springframework/batch/sample/BatchSqlUpdateJobFunctionalTests-context.xml b/spring-batch-samples/src/test/resources/org/springframework/batch/sample/JdbcBatchJobFunctionalTests-context.xml similarity index 100% rename from spring-batch-samples/src/test/resources/org/springframework/batch/sample/BatchSqlUpdateJobFunctionalTests-context.xml rename to spring-batch-samples/src/test/resources/org/springframework/batch/sample/JdbcBatchJobFunctionalTests-context.xml