HHH-7819 Correct test issues found in CI hibernate-core-master-matrix

job
This commit is contained in:
Brett Meyer 2012-11-21 14:08:13 -05:00
parent 8df655aa6b
commit 0118819133
8 changed files with 16 additions and 16 deletions

View File

@ -25,7 +25,7 @@
<generator class="hilo"/>
</id>
<property name="name" length="100"/>
<property name="userId" column="person_userid" length="8" unique="true"/>
<property name="userId" column="person_userid" length="8" unique="true" not-null="true"/>
<one-to-one name="address" property-ref="person" cascade="all" fetch="join"/>
<set name="accounts" inverse="true">
<key column="userId" property-ref="userId"/>

View File

@ -16,7 +16,7 @@
</id>
<component name="identity" class="Identity">
<property name="name"/>
<property name="ssn" unique="true"/>
<property name="ssn" unique="true" not-null="true"/>
</component>
</class>

View File

@ -16,7 +16,7 @@
</id>
<component name="identity">
<property name="name"/>
<property name="ssn" unique="true"/>
<property name="ssn" unique="true" not-null="true"/>
</component>
</class>

View File

@ -11,10 +11,10 @@
</id>
<discriminator formula="customerId"/>
<property name="name" length="100"/>
<property name="personId" length="8" unique="true"/>
<property name="personId" length="8" unique="true" not-null="true"/>
<subclass name="Customer" discriminator-value="not null">
<property name="customerId" length="8" unique="true"/>
<property name="customerId" length="8" unique="true" not-null="true"/>
</subclass>
</class>
@ -22,8 +22,8 @@
<id name="accountId" length="32">
<generator class="uuid.hex"/>
</id>
<many-to-one name="person" column="personId" unique="true" property-ref="personId"/>
<many-to-one name="customer" column="customerPersonId" unique="true" property-ref="personId"/>
<many-to-one name="person" column="personId" unique="true" not-null="true" property-ref="personId"/>
<many-to-one name="customer" column="customerPersonId" unique="true" not-null="true" property-ref="personId"/>
<property name="type" column="`type`" not-null="true"/>
</class>

View File

@ -10,10 +10,10 @@
<generator class="hilo"/>
</id>
<property name="name" length="100"/>
<property name="personId" length="8" unique="true"/>
<property name="personId" length="8" unique="true" not-null="true"/>
<union-subclass name="Customer" table="U_SBCLS_PROPREF_CUST">
<property name="customerId" length="8" unique="true"/>
<property name="customerId" length="8" unique="true" not-null="true"/>
</union-subclass>
</class>
@ -21,8 +21,8 @@
<id name="accountId" length="32">
<generator class="uuid.hex"/>
</id>
<many-to-one name="person" column="personId" unique="true" property-ref="personId"/>
<many-to-one name="customer" column="customerPersonId" unique="true" property-ref="personId"/>
<many-to-one name="person" column="personId" unique="true" not-null="true" property-ref="personId"/>
<many-to-one name="customer" column="customerPersonId" unique="true" not-null="true" property-ref="personId"/>
<property name="type" column="`type`" not-null="true"/>
</class>

View File

@ -25,7 +25,7 @@
<id name="id">
<generator class="increment"/>
</id>
<property name="name" unique="true"/>
<property name="name" unique="true" not-null="true"/>
</class>
<class name="Info">

View File

@ -11,7 +11,7 @@
<generator class="hilo"/>
</id>
<property name="name" unique="true"/>
<property name="name" unique="true" not-null="true"/>
<property name="company"/>
<property name="region"/>

View File

@ -17,7 +17,7 @@
</id>
<timestamp name="timestamp" column="ts" source="db"/>
<!--<version name="timestamp" column="ts" type="org.hibernate.type.DbTimestampType"/>-->
<property name="username" column="user_name" type="string" unique="true"/>
<property name="username" column="user_name" type="string" unique="true" not-null="true"/>
<set name="groups" table="db_vers_user_group" batch-size="9" inverse="true" optimistic-lock="true" lazy="true" cascade="none" >
<key column="user_id"/>
<many-to-many column="group_id" class="Group" lazy="false" fetch="join" />
@ -34,7 +34,7 @@
</id>
<timestamp name="timestamp" column="ts" source="db"/>
<!--<version name="timestamp" column="ts" type="org.hibernate.type.DbTimestampType"/>-->
<property name="name" column="name" type="string" unique="true"/>
<property name="name" column="name" type="string" unique="true" not-null="true"/>
<set name="users" table="db_vers_user_group" batch-size="9" inverse="false" lazy="true" cascade="none" >
<key column="group_id"/>
<many-to-many column="user_id" class="User" lazy="false" fetch="join" />
@ -47,7 +47,7 @@
</id>
<timestamp name="timestamp" column="ts" source="db"/>
<!--<version name="timestamp" column="ts" type="org.hibernate.type.DbTimestampType"/>-->
<property name="name" column="name" type="string" unique="true"/>
<property name="name" column="name" type="string" unique="true" not-null="true"/>
<property name="context" column="ctx" type="string"/>
<property name="access" column="priv" type="string"/>
</class>