diff --git a/spring-batch-samples/pom.xml b/spring-batch-samples/pom.xml index f6e090446..9ae292320 100644 --- a/spring-batch-samples/pom.xml +++ b/spring-batch-samples/pom.xml @@ -253,7 +253,7 @@ - org.springframework.batch.support.SystemPropertyInitializer.ENVIRONMENT + ENVIRONMENT ${environment} diff --git a/spring-batch-samples/src/main/resources/batch-h2.properties b/spring-batch-samples/src/main/resources/batch-h2.properties index a5cc63591..3e67ab8f4 100644 --- a/spring-batch-samples/src/main/resources/batch-h2.properties +++ b/spring-batch-samples/src/main/resources/batch-h2.properties @@ -13,3 +13,4 @@ batch.data.source.init=true batch.database.incrementer.class=org.springframework.jdbc.support.incrementer.H2SequenceMaxValueIncrementer batch.database.incrementer.parent=sequenceIncrementerParent batch.grid.size=2 +batch.verify.cursor.position=true