-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: EXPOSED-145 Quoted table name breaks create sequence in Oracle (#…
…1836) If a table with an autoincrement column is created and provided a table name that has escaped double quotes, the CREATE SEQUENCE statement throws a syntax error because of the double quotes. java.sql.SQLSyntaxErrorException: ORA-01741: illegal zero-length identifier Statement(s): CREATE SEQUENCE ""Parent"_id_seq" START WITH 1 MINVALUE 1 MAXVALUE 9223372036854775807 Oracle is the only dialect that uses the fallback sequence name, so this has all double quotes now replaced, as is done for foreign key constraint names.
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 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