From e422f59dc9b3126576dae87d5a747db4da9a70b3 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Tue, 21 Sep 2021 19:16:04 +0200 Subject: [PATCH] Add migration script to make Oracle sequences ordered Issue #1422 Issue #2000 --- .../batch/core/migration/5.0/migration-oracle.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 spring-batch-core/src/main/resources/org/springframework/batch/core/migration/5.0/migration-oracle.sql diff --git a/spring-batch-core/src/main/resources/org/springframework/batch/core/migration/5.0/migration-oracle.sql b/spring-batch-core/src/main/resources/org/springframework/batch/core/migration/5.0/migration-oracle.sql new file mode 100644 index 000000000..6e41e36b5 --- /dev/null +++ b/spring-batch-core/src/main/resources/org/springframework/batch/core/migration/5.0/migration-oracle.sql @@ -0,0 +1,3 @@ +ALTER SEQUENCE BATCH_STEP_EXECUTION_SEQ ORDER; +ALTER SEQUENCE BATCH_JOB_EXECUTION_SEQ ORDER; +ALTER SEQUENCE BATCH_JOB_SEQ ORDER; \ No newline at end of file