Skip to content

Commit

Permalink
fix: oracle cannot support DB in table identifiers (#7954)
Browse files Browse the repository at this point in the history
oracle queries cannot support the identifier including the database in this way (`XE.SYSTEM.table`)

Instead, if you should specify a separate database a link must be set up and then
the database link identifier is included after the table. (`SYSTEM.table@XE`)

However, because that's rather difficult to set up lets not for now & just prevent
inclusion of the database in the case that we fetch it.
  • Loading branch information
imnotjames committed Jul 25, 2021
1 parent abbadcc commit 8c60d91
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/driver/oracle/OracleDriver.ts
Expand Up @@ -355,10 +355,6 @@ export class OracleDriver implements Driver {
tablePath.unshift(schema);
}

if (database) {
tablePath.unshift(database);
}

return tablePath.join('.');
}

Expand Down

0 comments on commit 8c60d91

Please sign in to comment.