Skip to content

Commit bcc070a

Browse files
committed
Removed Caching when creating sequences to enforce order
resolves #853
1 parent 757187a commit bcc070a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-task-core/src/main/resources/org/springframework/cloud/task/schema-oracle10g.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CREATE TABLE TASK_TASK_BATCH (
2626
references TASK_EXECUTION(TASK_EXECUTION_ID)
2727
) ;
2828

29-
CREATE SEQUENCE TASK_SEQ START WITH 0 MINVALUE 0 MAXVALUE 9223372036854775807 NOCACHE NOCYCLE;
29+
CREATE SEQUENCE TASK_SEQ START WITH 0 MINVALUE 0 MAXVALUE 9223372036854775807 ORDER NOCYCLE;
3030

3131
CREATE TABLE TASK_LOCK (
3232
LOCK_KEY VARCHAR2(36) NOT NULL,

0 commit comments

Comments
 (0)