question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add schema name to the table path for Oracle driver

See original GitHub issue

Issue type:

[ ] question [ ] bug report [x] feature request [ ] documentation issue

Database system/driver:

[ ] cordova [ ] mongodb [ ] mssql [ ] mysql / mariadb [x] oracle [ ] postgres [ ] cockroachdb [ ] sqlite [ ] sqljs [ ] react-native [ ] expo

TypeORM version:

[x] latest [ ] @next [ ] 0.x.x (or put your version here)

Steps to reproduce or a small repository showing the problem:

Entity metadata doesn’t have schema name in tablePath for Oracle driver:

https://github.com/typeorm/typeorm/blob/b99b4ad869cbf482ae9a5558acf64084157cbedd/src/metadata/EntityMetadata.ts#L850-L868

As a result it is possible to query tables only with public synonym. Could OracleDriver be added to the list of drivers which support schema name in tablePath?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
pirouetcommented, Jun 29, 2020

@lipeavelar Not sure how long it takes but I have a Pull Request (https://github.com/typeorm/typeorm/pull/6133) to add it back in waiting

0reactions
pirouetcommented, Sep 16, 2020

Yep, agreed but I can’t close it myself 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

SET SCHEMA statement
The SET SCHEMA statement sets the default schema for a connection's session to the designated schema. The default schema is used as the...
Read more >
5 Customizing JDBC Data Sources and Component Schema
Table 5-1 describes the fields of the Configure JDBC Data Sources screen. ... To add a database instance, click Add, and then specify...
Read more >
ALTER SESSION SET CURRENT_SCHEMA - Ask TOM
ALTER SESSION SET CURRENT_SCHEMA I have an application which requires us to change schema's within the application to update a table for various...
Read more >
capture-schema
Run capture-schema as the same database user that owns the table(s), and use that same username with the -username option (and -schemaname ,...
Read more >
4.12. Schema Reflection
You can limit the schemas and tables Kodo acts on with the kodo.jdbc. ... To list a table, list its full name in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found