更新时间:2023-02-04 16:51:36
那么还有其他的Hibernate配置吗?
So is there any other Hibernate configuration I need to make?
使用当前的设置,我想你必须指定模式。例如,在映射中:
With your current setup, I guess you'll have to specify the schema. For example, in the mapping:
<class name="Users" table="Users" schema="dbo" catalog="suiteaccess">
但是你也可以使用 hibernate.default_schema
属性(请参阅 3.4。可选配置属性)。
为了防止这种情况,您可以创建自己的模式。
Just in case, you can create your own schema.