HHH-12539 - Fix PostgreSql test failure

This commit is contained in:
Andrea Boriero 2018-05-10 12:08:24 +01:00
parent d926bc15e5
commit 55fc981e35
1 changed files with 4 additions and 4 deletions

View File

@ -15,8 +15,8 @@
<id name="id" type="uuid-binary" column="id" length="16">
<generator class="uuid2" />
</id>
<property name="name" type="nstring" column="name" length="50" not-null="true" />
<property name="description" type="nstring" column="description" length="200" />
<property name="name" type="string" column="name" length="50" not-null="true" />
<property name="description" type="string" column="description" length="200" />
</class>
<union-subclass entity-name="Item1" table="item_1" extends="ItemBase">
@ -27,7 +27,7 @@
<union-subclass entity-name="Item2" table="item_2" extends="ItemBase">
<tuplizer entity-mode="dynamic-map" class="org.hibernate.tuple.entity.DynamicMapEntityTuplizer"/>
<property name="prop2" type="nstring" column="prop2" length="100" />
<property name="prop2" type="string" column="prop2" length="100" />
<many-to-one name="entity" entity-name="Entity2" column="entity_id" fetch="select" not-null="true" />
</union-subclass>
@ -36,7 +36,7 @@
<id name="id" type="uuid-binary" column="id" length="16">
<generator class="uuid2" />
</id>
<property name="name" type="nstring" column="name" length="50" not-null="true" />
<property name="name" type="string" column="name" length="50" not-null="true" />
<set name="items" fetch="select" lazy="true" inverse="true">
<key column="entity_id" not-null="true" />
<one-to-many entity-name="Item1"/>