-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add delete cascade on metadata tables' foreign keys
- Loading branch information
Showing
20 changed files
with
145 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 10 additions & 3 deletions
13
spring-batch-core/src/main/resources/org/springframework/batch/core/schema-drop-sybase.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
-- Autogenerated: do not edit this file | ||
|
||
DROP TABLE BATCH_STEP_EXECUTION_CONTEXT; | ||
IF EXISTS (SELECT 1 FROM sysobjects WHERE name = 'BATCH_STEP_EXECUTION_CONTEXT' AND type = 'U') | ||
drop table BATCH_STEP_EXECUTION_CONTEXT; | ||
IF EXISTS (SELECT 1 FROM sysobjects WHERE name = 'BATCH_JOB_EXECUTION_CONTEXT' AND type = 'U') | ||
DROP TABLE BATCH_JOB_EXECUTION_CONTEXT; | ||
IF EXISTS (SELECT 1 FROM sysobjects WHERE name = 'BATCH_STEP_EXECUTION' AND type = 'U') | ||
DROP TABLE BATCH_STEP_EXECUTION; | ||
IF EXISTS (SELECT 1 FROM sysobjects WHERE name = 'BATCH_JOB_EXECUTION_PARAMS' AND type = 'U') | ||
DROP TABLE BATCH_JOB_EXECUTION_PARAMS; | ||
IF EXISTS (SELECT 1 FROM sysobjects WHERE name = 'BATCH_JOB_EXECUTION' AND type = 'U') | ||
DROP TABLE BATCH_JOB_EXECUTION; | ||
IF EXISTS (SELECT 1 FROM sysobjects WHERE name = 'BATCH_JOB_INSTANCE' AND type = 'U') | ||
DROP TABLE BATCH_JOB_INSTANCE; | ||
|
||
IF EXISTS (SELECT 1 FROM sysobjects WHERE name = 'BATCH_STEP_EXECUTION_SEQ' AND type = 'U') | ||
DROP TABLE BATCH_STEP_EXECUTION_SEQ; | ||
IF EXISTS (SELECT 1 FROM sysobjects WHERE name = 'BATCH_JOB_EXECUTION_SEQ' AND type = 'U') | ||
DROP TABLE BATCH_JOB_EXECUTION_SEQ; | ||
IF EXISTS (SELECT 1 FROM sysobjects WHERE name = 'BATCH_JOB_SEQ' AND type = 'U') | ||
DROP TABLE BATCH_JOB_SEQ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.