Skip to content

Commit b9a96a6

Browse files
committed
Update DDL migration script for IBM DB2 LUW
Resolves #5166
1 parent 20eaa7b commit b9a96a6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • spring-batch-core/src/main/resources/org/springframework/batch/core/migration/6.0
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
-- IBM DB2 LUW (10.1+)
1+
-- The following is only applicable to Informix servers.
2+
-- IBM DB2 LUW (10.1+) does not support sequence renaming: https://www.ibm.com/docs/en/db2/12.1.x?topic=statements-rename
3+
-- To address this limitation, use a stored procedure or a Java-based program that retrieves
4+
-- the last sequence number and creates a new sequence starting from that value.
25
RENAME SEQUENCE BATCH_JOB_SEQ TO BATCH_JOB_INSTANCE_SEQ;

0 commit comments

Comments
 (0)