【发布时间】:2019-05-06 21:40:51
【问题描述】:
我正在尝试使用单个 Connection / DataSource / SessionFactory / TransactionManager 在不同模式中使用休眠读取和写入实体。
架构名称必须可通过应用程序属性进行配置。
我可以在 @Table 注释中指定架构,但似乎只能使用常量。
架构中的实体不同。
【问题讨论】:
标签: spring hibernate orm annotations hibernate-mapping