-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: durable state database support (#158)
resolves: #56, support Oracle and SQLServer(MSSQL)
- Loading branch information
Showing
20 changed files
with
329 additions
and
42 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
18 changes: 12 additions & 6 deletions
18
core/src/main/resources/schema/oracle/oracle-drop-schema.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,20 +1,26 @@ | ||
ALTER SESSION SET ddl_lock_timeout = 15 | ||
/ | ||
|
||
DROP TABLE EVENT_TAG CASCADE CONSTRAINT | ||
DROP SEQUENCE EVENT_JOURNAL__ORDERING_SEQ | ||
/ | ||
|
||
DROP TABLE EVENT_JOURNAL CASCADE CONSTRAINT | ||
DROP TRIGGER EVENT_JOURNAL__ORDERING_TRG | ||
/ | ||
|
||
DROP TABLE SNAPSHOT CASCADE CONSTRAINT | ||
DROP SEQUENCE DURABLE_STATE__GLOBAL_OFFSET_SEQ | ||
/ | ||
|
||
DROP TABLE SNAPSHOT CASCADE CONSTRAINT | ||
DROP TRIGGER DURABLE_STATE__GLOBAL_OFFSET_SEQ_TRG | ||
/ | ||
|
||
DROP SEQUENCE EVENT_JOURNAL__ORDERING_SEQ | ||
DROP TABLE EVENT_TAG CASCADE CONSTRAINT | ||
/ | ||
|
||
DROP TRIGGER EVENT_JOURNAL__ORDERING_TRG | ||
DROP TABLE EVENT_JOURNAL CASCADE CONSTRAINT | ||
/ | ||
|
||
DROP TABLE SNAPSHOT CASCADE CONSTRAINT | ||
/ | ||
|
||
DROP TABLE DURABLE_STATE CASCADE CONSTRAINT | ||
/ |
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
1 change: 1 addition & 0 deletions
1
core/src/main/resources/schema/sqlserver/sqlserver-drop-schema.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,3 +1,4 @@ | ||
DROP TABLE IF EXISTS event_tag; | ||
DROP TABLE IF EXISTS event_journal; | ||
DROP TABLE IF EXISTS snapshot; | ||
DROP TABLE IF EXISTS durable_state; |
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
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
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.