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