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

PostgreSQL生成代码+支持schema #6264

Closed
lvhejin opened this issue Jun 18, 2024 · 0 comments
Closed

PostgreSQL生成代码+支持schema #6264

lvhejin opened this issue Jun 18, 2024 · 0 comments
Milestone

Comments

@lvhejin
Copy link

lvhejin commented Jun 18, 2024

你好:

pgsql库,同一个数据库,有三个schema分成存放着不同的表,怎么动态获取配置文件里的schema值?

开发环境 和 测试环境 的schema不一样,需要从配置文件读取,例如:
@TableName(value = "user",schema = "${pgsql.schema.user}")
public class User implements Serializable {

1.目前不支持
2.用MybatisPlusGenerator生成代码时也不支持指定schema的值

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

No branches or pull requests

2 participants