This repository has been archived by the owner on Oct 10, 2022. It is now read-only.
Oracle "FROM all_tables WHERE owner = (select user from dual)" query #112
Labels
bug
no known workaround
Problem:
typeorm-model-generator
run following query:This returns 0 results for me, because these tables
owner
's is not equal to current user - these tables are owned by DBA and I'm working with read-only user.Solution: add option to specify owner(s).
Workaround: hardcode correct value in
node_modules/typeorm-model-generator/dist/src/drivers/OracleDriver.js
(replace(select user from dual)
with'YOUR_OWNER'
).The text was updated successfully, but these errors were encountered: