From bf607c315ee57568226d7019984b956806478d99 Mon Sep 17 00:00:00 2001 From: robokaso Date: Tue, 4 Mar 2008 16:31:24 +0000 Subject: [PATCH] RESOLVED - issue BATCH-411: invalid blob syntax in PostgreSQL schema http://jira.springframework.org/browse/BATCH-411 --- spring-batch-execution/src/main/resources/schema-postgresql.sql | 2 +- spring-batch-execution/src/main/sql/postgresql.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-batch-execution/src/main/resources/schema-postgresql.sql b/spring-batch-execution/src/main/resources/schema-postgresql.sql index 410efb4bc..a13cc7e6a 100644 --- a/spring-batch-execution/src/main/resources/schema-postgresql.sql +++ b/spring-batch-execution/src/main/resources/schema-postgresql.sql @@ -68,7 +68,7 @@ CREATE TABLE BATCH_STEP_EXECUTION_CONTEXT ( DATE_VAL TIMESTAMP , LONG_VAL VARCHAR(10) , DOUBLE_VAL DOUBLE PRECISION , - OBJECT_VAL BLOB, + OBJECT_VAL BYTEA, constraint STEP_EXECUTION_CONTEXT_FK foreign key (STEP_EXECUTION_ID) references BATCH_STEP_EXECUTION(STEP_EXECUTION_ID) ); diff --git a/spring-batch-execution/src/main/sql/postgresql.properties b/spring-batch-execution/src/main/sql/postgresql.properties index b8b8435ec..d5a9bb493 100644 --- a/spring-batch-execution/src/main/sql/postgresql.properties +++ b/spring-batch-execution/src/main/sql/postgresql.properties @@ -4,6 +4,6 @@ BIGINT = BIGINT IDENTITY = GENERATED = DOUBLE = DOUBLE PRECISION -BLOB = BLOB +BLOB = BYTEA # for generating drop statements... SEQUENCE = SEQUENCE