From 0899b8994d62913357021ae7ce66c923d86b564e Mon Sep 17 00:00:00 2001 From: dsyer Date: Thu, 13 Dec 2007 19:37:55 +0000 Subject: [PATCH] BATCH-256: fixed postgres BLOB type --- .../src/main/resources/business-schema-postgresql.sql | 2 +- spring-batch-samples/src/main/sql/postgresql.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-batch-samples/src/main/resources/business-schema-postgresql.sql b/spring-batch-samples/src/main/resources/business-schema-postgresql.sql index 11ab84d3a..be262c17a 100644 --- a/spring-batch-samples/src/main/resources/business-schema-postgresql.sql +++ b/spring-batch-samples/src/main/resources/business-schema-postgresql.sql @@ -18,7 +18,7 @@ CREATE SEQUENCE TRADE_SEQ; CREATE TABLE BATCH_STAGING ( ID BIGINT PRIMARY KEY , JOB_ID BIGINT NOT NULL, - VALUE BLOB NOT NULL, + VALUE BYTEA NOT NULL, PROCESSED CHAR(1) NOT NULL ); diff --git a/spring-batch-samples/src/main/sql/postgresql.properties b/spring-batch-samples/src/main/sql/postgresql.properties index 9ddc1bb04..00b9007b4 100644 --- a/spring-batch-samples/src/main/sql/postgresql.properties +++ b/spring-batch-samples/src/main/sql/postgresql.properties @@ -3,6 +3,6 @@ platform=postgresql BIGINT = BIGINT IDENTITY = GENERATED = -BLOB = BLOB +BLOB = BYTEA # for generating drop statements... SEQUENCE = SEQUENCE