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