From 219e9a08a490b284da85d46a5c3c3242b8da4f69 Mon Sep 17 00:00:00 2001 From: dsyer Date: Wed, 27 Feb 2008 09:51:20 +0000 Subject: [PATCH] Externalise lob handler reference --- spring-batch-samples/src/main/resources/batch.properties | 3 +++ .../src/main/resources/data-source-context.xml | 2 ++ spring-batch-samples/src/main/resources/jobs/parallelJob.xml | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/spring-batch-samples/src/main/resources/batch.properties b/spring-batch-samples/src/main/resources/batch.properties index 529be7db0..024830388 100644 --- a/spring-batch-samples/src/main/resources/batch.properties +++ b/spring-batch-samples/src/main/resources/batch.properties @@ -15,6 +15,9 @@ batch.database.vendor=HSQLDB batch.schema.script=schema-hsqldb.sql batch.business.schema.script=business-schema-hsqldb.sql batch.database.incrementer.class=org.springframework.jdbc.support.incrementer.HsqlMaxValueIncrementer +batch.lob.handler.class=org.springframework.jdbc.support.lob.DefaultLobHandler +batch.football.job.commit.interval=2 + # Other platforms: # org.springframework.jdbc.support.incrementer.DB2SequenceMaxValueIncrementer diff --git a/spring-batch-samples/src/main/resources/data-source-context.xml b/spring-batch-samples/src/main/resources/data-source-context.xml index 452da172a..dcd614ab9 100644 --- a/spring-batch-samples/src/main/resources/data-source-context.xml +++ b/spring-batch-samples/src/main/resources/data-source-context.xml @@ -58,6 +58,8 @@ + + diff --git a/spring-batch-samples/src/main/resources/jobs/parallelJob.xml b/spring-batch-samples/src/main/resources/jobs/parallelJob.xml index 92b71cae9..70b86174c 100644 --- a/spring-batch-samples/src/main/resources/jobs/parallelJob.xml +++ b/spring-batch-samples/src/main/resources/jobs/parallelJob.xml @@ -32,6 +32,8 @@ + +