在哪里可以在项目中安装架构?

发布于 2025-02-13 05:48:16 字数 117 浏览 0 评论 0原文

我使用冬眠。我需要在@Table注释或JDBC中设置当前模式: 告诉我还可以在哪里安装模式?

spring.jpa.properties.hibernate.default_schema:联系人看不到设置

I use hibernate. I need to set the current schema somewhere other than in the @Table annotation or in jdbc:postgresql://HOST:PORT/ in application.yml
Tell me where else you can install the schema?

spring.jpa.properties.hibernate.default_schema: contact does not see the setting

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

濫情▎り 2025-02-20 05:48:16

在应用程序中

。弹簧:
数据源:
hikari:
模式:名称chema

In application.yml

spring:
datasource:
hikari:
schema: nameSchema

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文