HHH-15265 Test that default catalog/schema are taken into account in generated DDL comments
This commit is contained in:
parent
3aada57305
commit
de4439ca0c
|
@ -11,7 +11,16 @@
|
|||
package="org.hibernate.orm.test.boot.database.qualfiedTableNaming"
|
||||
catalog="someImplicitFileLevelCatalog" schema="someImplicitFileLevelSchema" default-access="field">
|
||||
<class name="DefaultCatalogAndSchemaTest$EntityWithHbmXmlImplicitFileLevelQualifiers" entity-name="EntityWithHbmXmlImplicitFileLevelQualifiers">
|
||||
<id name="id" />
|
||||
<property name="basic" />
|
||||
<comment>Some entity-level comment</comment>
|
||||
<id name="id">
|
||||
<column name="id">
|
||||
<comment>Some column-level comment for "id"</comment>
|
||||
</column>
|
||||
</id>
|
||||
<property name="basic">
|
||||
<column name="basic">
|
||||
<comment>Some column-level comment for "property"</comment>
|
||||
</column>
|
||||
</property>
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
|
|
|
@ -11,7 +11,16 @@
|
|||
package="org.hibernate.orm.test.boot.database.qualfiedTableNaming"
|
||||
default-access="field">
|
||||
<class name="DefaultCatalogAndSchemaTest$EntityWithHbmXmlNoFileLevelQualifiers" entity-name="EntityWithHbmXmlNoFileLevelQualifiers">
|
||||
<id name="id" />
|
||||
<property name="basic" />
|
||||
<comment>Some entity-level comment</comment>
|
||||
<id name="id">
|
||||
<column name="id">
|
||||
<comment>Some column-level comment for "id"</comment>
|
||||
</column>
|
||||
</id>
|
||||
<property name="basic">
|
||||
<column name="basic">
|
||||
<comment>Some column-level comment for "property"</comment>
|
||||
</column>
|
||||
</property>
|
||||
</class>
|
||||
</hibernate-mapping>
|
||||
|
|
Loading…
Reference in New Issue