Repository navigation
feat(oracle): add oracle support #18050
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
262 commits
Select commit
Hold shift + click to select a range
7882a4f
feat(oracle) : replace deprecated Model.rawAttribute and bulkInsert o…
hjamil-24 b72eb4d
feat(oracle) : fix issue with null id value
hjamil-24 f60829f
feat(oracle): fix missing unique in index
hjamil-24 7e317f9
feat(oracle): fixed issue with bindParameter
hjamil-24 0870065
feat(oracle): remove deprecated
hjamil-24 b28c374
feat(oracle): add parseDatabaseValue() and bindParam to DATEONLY
hjamil-24 d48fb83
feat(oracle): fixed issue with ENUM and bind variables
hjamil-24 8f97ee7
feat(oracle): add getDefaultPort() and fixed pool test-case
hjamil-24 fe9bcdd
feat(oracle): fix test case for oracle
hjamil-24 29c9a7c
feat(oracle) : add oracle conditions in test cases
hjamil-24 9b33b42
feat(oracle): skip test-cases not valid for oracle dialect
hjamil-24 0f692b5
feat(oracle): add escapeString() to index and test case correction
hjamil-24 fa7cdb1
feat(oracle): write showConstraintQuery() for Oracle
hjamil-24 4cd4f08
feat(oracle): fix removeColumn issue and test cases
hjamil-24 d52a34c
feat(oracle): removed deprecated model.rawAttributes
hjamil-24 eafa59a
feat(oracle): add sanitize() to DECIMAL
hjamil-24 d1d3c64
feat(oracle): add escapebuffer and test case fixes
hjamil-24 aa5d3db
feat(oracle): add fetchAsBuffer for LOBs
hjamil-24 c34bd8d
feat(oracle): fix returning id alias for insert statements
hjamil-24 0fa8ed4
feat(oracle): fix issue with difference in names in v7
hjamil-24 571884a
feat(oracle): fix testcases and alias columnName
hjamil-24 3b313bf
feat(oracle): add defaultSchema, fixed validation error message, fixe…
hjamil-24 ed9371d
feat(oracle): fix for bindnames, handleShowIndexQuery(), errors and f…
hjamil-24 91c7951
feat(oracle): fix STRING.BINARY, DATE
hjamil-24 32da120
feat(oracle): fix index issue, listSchema alias, missing unique from …
hjamil-24 4d29c25
feat(oracle): fix issues with unique key constraint
hjamil-24 ed45652
feat(oracle): fix listTables(), fix test cases
hjamil-24 86dc157
feat(oracle): add schema name in constraint query and alterForiegnKeys
hjamil-24 b0a3f16
feat(oracle): fix rename table
hjamil-24 d477697
feat(oracle): fix test cases
hjamil-24 d3355c5
feat(oracle): fixed data-types unit test cases
hjamil-24 8094dde
feat(oracle): fix unit tests querygenerator
hjamil-24 c89bf08
feat(oracle): fixed unit test cases
hjamil-24 128d661
feat(oracle): fix onUpdate cascade, type issues in createTable, BIGIN…
hjamil-24 26f0e2c
feat(oracle): add setup files for docker, CI and update package.json
hjamil-24 797d46d
feat(oracle): fix issue with uniqueKeys options in createTableQuery()
hjamil-24 321e537
feat(oracle): fix test cases
hjamil-24 0cc55b9
feat(oracle): fix issue with reserved word for binds in upsert();2C
hjamil-24 d5c7c23
feat(oracle): add Oracle specific tests
hjamil-24 4ce0cac
add Copyright information to oracle specific files
hjamil-24 ab1be6d
feat(oracle): resolve conflict
hjamil-24 5f1d402
feat(oracle): pull latest change and fix unit-tests
hjamil-24 b021a9e
feat(oracle): fix assertion integration test due to new commits in main
hjamil-24 54a7f88
feat(oracle): fix test issues due to commits in main
hjamil-24 f5a9278
feat(oracle): fix test case with new commits in main
hjamil-24 35b3389
feat(oracle): update unit test for bulkDeleteQuery()
hjamil-24 6a50b60
feat(oracle): resolve merge conflicts, create new query-interfface-in…
hjamil-24 c41d20a
feat(oracle): fix integration test for describeTableQuery()
hjamil-24 48f70f1
feat(oracle): support JSON extraction
hjamil-24 80b7529
fix: resolve merge conflict
hjamil-24 fad7955
feat(oracle): migrate transaction
hjamil-24 4594791
Merge branch 'main' into v7_support
hjamil-24 414a323
fix(oracle): fix test case
hjamil-24 dbc6d3a
fix(oracle): resolve merge conflicts
hjamil-24 bac7b23
fix(oracle): resolve merge conflicts
hjamil-24 14017cb
fix(oracle): fix eslint issues
hjamil-24 9407b49
Merge branch 'main' into v7_support
hjamil-24 d7726f4
fix: merge main
hjamil-24 4a69df5
feat(oracle): fix oracle case
hjamil-24 8b63962
bump version
hjamil-24 16309b7
update yarn.lock
hjamil-24 6e71bcd
reorganize oracle files
hjamil-24 e3825f5
feat(oracle): refactor code
hjamil-24 13694f2
feat(oracle): resolve merge conflict
hjamil-24 09bfadc
Merge branch 'main' into v7_support
hjamil-24 babeb28
Merge branch 'main' into v7_support
hjamil-24 49af828
feat(oracle): eslint issue
hjamil-24 0b701fc
feat(oracle): fix prettier issue
hjamil-24 7694d3b
feat(oracle): fix irregular file name issue
hjamil-24 bc316e1
feat(oracle): resolve conflict
hjamil-24 8e19a1f
Merge branch 'main' into v7_support
hjamil-24 f270266
Merge branch 'main' into v7_support
hjamil-24 d2157ba
feat(oracle): fix issue with oracledb object
hjamil-24 e12f0f0
feat(oracle): resolve merge conflict
hjamil-24 e3d2dc8
feat(oracle): package.json fix
hjamil-24 99b57b4
feat(oracle): fix breakage
hjamil-24 8d5e4f3
feat(oracle): merge main
hjamil-24 3133f39
feat(oracle): merge main
hjamil-24 1a23bb8
fix(snowflake): build failure
hjamil-24 74681be
fix(oracle): rename file wait-until-healthy
hjamil-24 d4345bf
merge main
hjamil-24 ad68c1f
fix: yarn.lock file
hjamil-24 86a7c61
fix permission
hjamil-24 2549122
fix(oracle): check
hjamil-24 3577807
fix(oracle); ci fix
hjamil-24 bb0e35f
add environment
hjamil-24 8c61b83
sadf
hjamil-24 bc3d732
env setup
hjamil-24 c48a56f
fix
hjamil-24 68a749c
skipped test requiring higher privileges
hjamil-24 182ccaf
fix(oracle): check values
hjamil-24 a07c873
fix for 23 database
hjamil-24 a6973ca
fix order by
hjamil-24 9d0fdd7
skipped test cases not supported in earlier db version
hjamil-24 aa5dcb7
resolve merge conlicts
hjamil-24 9b8e52a
delete file
hjamil-24 573bbcd
Merge branch 'main' into v7_support
hjamil-24 ba5d5d9
fix snowflake issue
hjamil-24 a0ebe7c
bump version to oracledb 6.5
hjamil-24 980a277
feat(oracle): resolve merge conflicts
hjamil-24 887d7b9
fix(oracle): fix review comment
hjamil-24 73b66f5
feat(oracle): add reset.sh file
hjamil-24 c82a9d3
merge main
hjamil-24 2566faa
fix(oracle): update yarn.lock
hjamil-24 75b4808
fix(oracle): changelog
hjamil-24 e32d7d6
feat(oracle): update connectionOptions
hjamil-24 8bb30bb
fix(oracle): refactor test case
hjamil-24 273bd68
feat(oracle): fix review comments
hjamil-24 5d971da
fix(oracle): fix prettier issue
hjamil-24 950aa88
fix(oracle): remove oracle comments
hjamil-24 4f006a5
fix(oracle): fix merge conflicts
hjamil-24 05b9f9a
fix(oracle): resolve merge conflicts
hjamil-24 d11e377
feat(oracle): merge main
hjamil-24 c187f63
fix: resolve merge conflicts
hjamil-24 4a1103d
fix(oracle): validate TO_TIMESTAMPTZ and TO_DATE
hjamil-24 0af2681
Merge branch 'main' into v7_support
hjamil-24 1ce74b7
feat(oracle): run oracle test seperately in workflow
hjamil-24 b105d51
feat(oracle): merge main
hjamil-24 ee3bb28
feat(oracle): update package.json
hjamil-24 9eda26f
fix(oracle): revert changes
hjamil-24 581820e
feat(oracle): resolve conflicts
hjamil-24 3ab16c5
Merge branch 'main' into v7_support
hjamil-24 318e7d1
fix(oracle): issues with lock file
hjamil-24 9c7b1ba
feat(oracle): add oracle dependency
hjamil-24 c6eb4dd
fix(oracle): prettier issue correction
hjamil-24 d43eee6
fix(oracle): fix issues with dev files
hjamil-24 58e55ca
feat(oracle): add url support to connect
hjamil-24 7679266
feat(oracle): assertions to oracle
hjamil-24 ed77ca8
fix(oracle): fix prettier issue
hjamil-24 b563177
Merge branch 'main' into v7_support
hjamil-24 b572384
Merge branch 'main' into v7_support
hjamil-24 b86706d
meta: update dependency
hjamil-24 cd4889a
fix: update yarn.lock
hjamil-24 1b3862d
Merge branch 'main' into v7_support
hjamil-24 8db9172
meta: update dependency
hjamil-24 cea830e
Merge branch 'main' into v7_support
hjamil-24 66bb3c2
merge main
hjamil-24 8ea7e90
feat(oracle): fix review comment
hjamil-24 92edc81
feat(oracle): bump version of mocha
hjamil-24 cfb4a6c
fix(core): call internal getAlias function
hjamil-24 38fead4
fix(oracle): move getAliasToken()
hjamil-24 9429666
fix(oracle): update package.json
hjamil-24 10fe950
fix(oracle): fix sqlite -> sqlite3 in package.json
hjamil-24 32d95ac
Merge branch 'main' into v7_support
hjamil-24 5128c81
feat(oracle): use common wait-until-healthy
hjamil-24 acd559d
feat(oracle): reduce wait time after docker starts
hjamil-24 bdcc1ad
feat(oracle): merge main
hjamil-24 62642db
fix(oracle): update tests.
hjamil-24 b8dcc81
fix(oracle): update tests.
hjamil-24 6b5bdf2
feat(oracle): merge main
hjamil-24 7126453
feat(oracle): update versions
hjamil-24 1836947
fix(core): fix test case
hjamil-24 ab53f4e
fix(core): fix count grouping for oracle
hjamil-24 ddcf540
feat(oracle): resolve conflicts
hjamil-24 823354f
feat(oracle): fix review comment
hjamil-24 e99fdb0
fix(oracle): make connectionManager.lib readonly private
hjamil-24 f0f9c0f
fix(oracle): import oracledb for the bind definitions
hjamil-24 55ffbb1
fix(oracle): destructure config to include additional properties to g…
hjamil-24 acd0389
feat(oracle): update workflow based on review comments
hjamil-24 46efe07
feat(oracle): update package.json to avoid failure for windows unit-test
hjamil-24 5dfc3b6
feat(oracle): update tests based on comments
hjamil-24 fdb6211
Merge branch 'main' into v7_support
hjamil-24 8b0bef7
meta: update dependency
hjamil-24 f2dca8b
feat(oracle): fix test cases review comment
hjamil-24 edf38fa
feat(oracle): update tests
hjamil-24 154c075
meta: bump up oracledb versions
hjamil-24 45e2868
feat(oracle): update tests based on comments
hjamil-24 8f72694
feat(oracle): update tests
hjamil-24 d166b7a
feat(oracle): bigint support for oracle and update tests
hjamil-24 f96278a
feat(oracle): bigint support for oracle and update tests
hjamil-24 6e89dad
feat(oracle): update test specific to oracle
hjamil-24 0c97474
Merge branch 'main' into v7_support
hjamil-24 d95d829
feat(oracle): update test-cases
hjamil-24 82f61de
feat(oracle): update test
hjamil-24 78c2875
Merge branch 'main' into v7_support
hjamil-24 ff47876
Merge branch 'main' into v7_support
hjamil-24 e8fa670
Merge branch 'main' into v7_support
hjamil-24 363f30f
Merge branch 'main' into v7_support
hjamil-24 26f2770
meta: bump up mocha
hjamil-24 d4b997b
Merge branch 'main' into v7_support
hjamil-24 da9f86b
Merge branch 'main' into v7_support
hjamil-24 b894229
Merge branch 'v7_support' of github.com:hjamil-24/sequelize into v7_s…
hjamil-24 deaff7b
Merge branch 'main' into v7_support
hjamil-24 9b7beed
fix(oracle): merge conflict
hjamil-24 b34be89
Merge remote-tracking branch 'upstream/main' into oracledbv7changes
sudarshan12s 6fe1884
- Fix CI by correcting the binds generation
sudarshan12s 52dd753
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 0cf425b
- Add check for bulkinsert
sudarshan12s 71f1aac
- Add dialect check for createBindParamGenerator
sudarshan12s 8830014
- correct wording
sudarshan12s 2804087
- yarn format fixes
sudarshan12s a303565
- update copyright
sudarshan12s dd07a7d
- restore old change
sudarshan12s 8ff74d9
- Remove the length check added by mistake as its not needed
sudarshan12s 2f217e7
- update semVer and mocha versions
sudarshan12s d130548
- Revert lock file to pass CI
sudarshan12s 8aac317
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 18b7f8f
- commit updated lock file
sudarshan12s db78402
- correct the dayjs dependency version
sudarshan12s b91611f
- commit updated lock file
sudarshan12s 2dac8df
- Add new attributes as per new type defination version 6.10.0
sudarshan12s b370792
- Incorporate Bot review comments
sudarshan12s 2dfc113
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s b3cd254
- Fix the port number passed to be a number for Oracle dialect
sudarshan12s 396afc4
- Incorporate BOT comment
sudarshan12s aef0052
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 659ed74
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 9dd6438
- Incorporate few review comments
sudarshan12s 5992573
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 849daa0
- update yarn.lock file
sudarshan12s 2f38d07
- lint issues
sudarshan12s a49417f
fix yarn docs for invalid link
sudarshan12s 639455a
- Fix the ignoreDuplicates setting issue
sudarshan12s a683475
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s dd391da
- correct updateonDuplicates for ibmi
sudarshan12s 5962391
- Adding sleep back to start container if it helps for CI
sudarshan12s 006ab23
- Revert changes to 18c docker-compose for CI to run
sudarshan12s 0165fa9
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 7e9003f
- Add oracle dialect specific unit tests for query generator
sudarshan12s 2b91e95
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 483ad6d
- typo correction
sudarshan12s c4645fe
- Remove the redundant test file inside integration/dialects/oracle/d…
sudarshan12s c1ff828
- Correct defining _getBindDef function
sudarshan12s 900e0e8
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 72e501c
- Incorporate comments in data-types.test.ts
sudarshan12s 6c6a3a4
- Remove getRawBytesForOracle for test passing input as Buffer
sudarshan12s a6baa4f
- lint issues
sudarshan12s b22675a
- Add DB version for oracle before running JSON tests
sudarshan12s 57aa596
- correct sql which works for 18.4
sudarshan12s ea3d417
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s c777f1f
- Incorporate more review comments
sudarshan12s 7bb3589
- changes to querygenerator add definition for check constraint and few
sudarshan12s 45d8d40
- CI failure fix
sudarshan12s 5da24f8
- Correct the integrity constraint parsing for constraintname
sudarshan12s 8454ae2
- Use dropTable from abstract QueryInterface
sudarshan12s ec2ae77
- incorporate minor comments
sudarshan12s a26e0f9
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s c0b2f3d
- missed few file changes in last commit, adding them back
sudarshan12s 2ac298a
- Fix typo
sudarshan12s cec7106
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 4d0ca67
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 60099e1
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 772ffd8
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s f0517e9
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s a2e1522
- Incorporate review comments
sudarshan12s 09caadc
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s f2d1993
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 76a2e52
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 53359f6
Merge branch 'main' of github.com:sequelize/sequelize into oracledbv7…
sudarshan12s 45fa3fa
Merge branch 'main' into oracledbv7changes
WikiRik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved | ||
|
|
||
| services: | ||
| oracle-latest: | ||
| container_name: sequelize-oracle-latest | ||
| image: gvenzl/oracle-free:23.26.0-slim | ||
| environment: | ||
| ORACLE_PASSWORD: password | ||
| ORACLE_DATABASE: XEPDB1 | ||
| ports: | ||
| - 1521:1521 | ||
| healthcheck: | ||
| test: ['CMD-SHELL', 'sqlplus system/password@localhost:1521/XEPDB1'] | ||
| interval: 3s | ||
| timeout: 1s | ||
| retries: 10 | ||
|
|
||
| networks: | ||
| default: | ||
| name: sequelize-oracle-latest-network |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved | ||
|
|
||
| set -Eeuxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ | ||
| cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" # https://stackoverflow.com/a/17744637 | ||
|
|
||
| docker compose -p sequelize-oracle-latest down --remove-orphans --volumes |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved | ||
|
|
||
| set -Eeuxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ | ||
| cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" # https://stackoverflow.com/a/17744637 | ||
|
|
||
| docker compose -p sequelize-oracle-latest down --remove-orphans | ||
| docker compose -p sequelize-oracle-latest up -d | ||
|
|
||
| ./../../wait-until-healthy.sh sequelize-oracle-latest | ||
|
|
||
| sleep 30s | ||
|
|
||
| docker cp ../privileges.sql sequelize-oracle-latest:/opt/oracle/. | ||
|
|
||
| docker exec -t sequelize-oracle-latest sqlplus system/password@localhost:1521/XEPDB1 @privileges.sql | ||
|
|
||
| DIALECT=oracle ts-node ../../check-connection.ts |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved | ||
|
|
||
| set -Eeuxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ | ||
|
|
||
| cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" # https://stackoverflow.com/a/17744637 | ||
|
|
||
|
|
||
| docker compose -p sequelize-oracle-latest down --remove-orphans | ||
|
|
||
| echo "Local latest supported Oracle DB instance stopped (if it was running)." |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved | ||
|
|
||
| services: | ||
| oracle-oldest: | ||
| container_name: sequelize-oracle-oldest | ||
| image: gvenzl/oracle-xe:18-slim | ||
| environment: | ||
| ORACLE_PASSWORD: password | ||
| ports: | ||
| - 1521:1521 | ||
| healthcheck: | ||
| test: ['CMD-SHELL', 'sqlplus system/password@XEPDB1'] | ||
| interval: 3s | ||
| timeout: 1s | ||
| retries: 10 | ||
|
|
||
| networks: | ||
| default: | ||
| name: sequelize-oracle-oldest-network | ||
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved | ||
|
|
||
| set -Eeuxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ | ||
| cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" # https://stackoverflow.com/a/17744637 | ||
|
|
||
| docker compose -p sequelize-oracle-oldest down --remove-orphans --volumes |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved | ||
|
|
||
| set -Eeuxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ | ||
| cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" # https://stackoverflow.com/a/17744637 | ||
|
|
||
| docker compose -p sequelize-oracle-oldest down --remove-orphans | ||
| docker compose -p sequelize-oracle-oldest up -d | ||
|
|
||
| ./../../wait-until-healthy.sh sequelize-oracle-oldest | ||
|
|
||
| sleep 30s | ||
|
|
||
| docker cp ../privileges.sql sequelize-oracle-oldest:/opt/oracle/. | ||
| docker exec -t sequelize-oracle-oldest sqlplus system/password@XEPDB1 @privileges.sql | ||
|
|
||
| DIALECT=oracle ts-node ../../check-connection.ts |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved | ||
|
|
||
| set -Eeuxo pipefail # https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ | ||
| cd -P -- "$(dirname -- "${BASH_SOURCE[0]}")" # https://stackoverflow.com/a/17744637 | ||
|
|
||
| docker compose -p sequelize-oracle-oldest down --remove-orphans | ||
|
|
||
| echo "Local oldest supported Oracle DB instance stopped (if it was running)." |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| -- Copyright (c) 2025, Oracle and/or its affiliates. All rights reserved | ||
|
|
||
| create user sequelizetest identified by sequelizepassword; | ||
| grant all privileges to sequelizetest; | ||
| alter user sequelizetest quota unlimited on users; | ||
| exit; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.