Skip to content
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

DM8 DbFirst 未使用配置的 SCHEMA 筛选 #1289

Open
KoakiMiku opened this issue Sep 27, 2024 · 2 comments
Open

DM8 DbFirst 未使用配置的 SCHEMA 筛选 #1289

KoakiMiku opened this issue Sep 27, 2024 · 2 comments

Comments

@KoakiMiku
Copy link

连接字符串配置了SCHEMA,但是生成模型时没有筛选SCHEMA,获取了所有的表,导致报错。
PixPin_2024-09-27_11-55-53

@DotNetNext
Copy link
Owner

目前是根据用户来的

select * from user_tables 这个SQL要怎么改才是你想要的 一起研究一下。

@KoakiMiku
Copy link
Author

好像只能从 dba_tables 里面筛选 schema

select TABLE_NAME from DBA_TABLES
where OWNER = 'schema'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants