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"/> <generator class="hilo"/>
</id> </id>
<property name="name" length="100"/> <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"/> <one-to-one name="address" property-ref="person" cascade="all" fetch="join"/>
<set name="accounts" inverse="true"> <set name="accounts" inverse="true">
<key column="userId" property-ref="userId"/> <key column="userId" property-ref="userId"/>

View File

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

View File

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

View File

@ -11,10 +11,10 @@
</id> </id>
<discriminator formula="customerId"/> <discriminator formula="customerId"/>
<property name="name" length="100"/> <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"> <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> </subclass>
</class> </class>
@ -22,8 +22,8 @@
<id name="accountId" length="32"> <id name="accountId" length="32">
<generator class="uuid.hex"/> <generator class="uuid.hex"/>
</id> </id>
<many-to-one name="person" column="personId" 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" 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"/> <property name="type" column="`type`" not-null="true"/>
</class> </class>

View File

@ -10,10 +10,10 @@
<generator class="hilo"/> <generator class="hilo"/>
</id> </id>
<property name="name" length="100"/> <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"> <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> </union-subclass>
</class> </class>
@ -21,8 +21,8 @@
<id name="accountId" length="32"> <id name="accountId" length="32">
<generator class="uuid.hex"/> <generator class="uuid.hex"/>
</id> </id>
<many-to-one name="person" column="personId" 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" 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"/> <property name="type" column="`type`" not-null="true"/>
</class> </class>

View File

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

View File

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

View File

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