From 09d7b58c5773d55ebd9a0c8d1b7342248922cd65 Mon Sep 17 00:00:00 2001 From: dsyer Date: Sun, 22 Jun 2008 08:26:56 +0000 Subject: [PATCH] changed the way the datasource is initialised for tests (inadvertently) --- .../batch/item/database/destroy-foo-schema-hsqldb.sql | 2 -- .../batch/item/database/foo-data-source-context.xml | 1 - .../batch/item/database/init-foo-schema-hsqldb.sql | 3 +++ 3 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/destroy-foo-schema-hsqldb.sql diff --git a/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/destroy-foo-schema-hsqldb.sql b/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/destroy-foo-schema-hsqldb.sql deleted file mode 100644 index 1c03cad82..000000000 --- a/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/destroy-foo-schema-hsqldb.sql +++ /dev/null @@ -1,2 +0,0 @@ -DROP TABLE T_FOOS; -DROP TABLE T_WRITE_FOOS; \ No newline at end of file diff --git a/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/foo-data-source-context.xml b/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/foo-data-source-context.xml index 0332cda1e..dc3df3ae3 100644 --- a/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/foo-data-source-context.xml +++ b/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/foo-data-source-context.xml @@ -10,7 +10,6 @@ - diff --git a/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/init-foo-schema-hsqldb.sql b/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/init-foo-schema-hsqldb.sql index 84490ed2f..9fff8df46 100644 --- a/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/init-foo-schema-hsqldb.sql +++ b/spring-batch-infrastructure/src/test/resources/org/springframework/batch/item/database/init-foo-schema-hsqldb.sql @@ -1,3 +1,6 @@ +DROP TABLE T_FOOS if exists; +DROP TABLE T_WRITE_FOOS if exists; + CREATE TABLE T_FOOS ( ID BIGINT NOT NULL, NAME VARCHAR(45),