HHH-5178 : Unit tests in org.hibernate.test.immutable fail on mssql and sybase due to keyword used for table and column name

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19325 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Gail Badner 2010-04-29 21:23:51 +00:00
parent ec2c07d796
commit 3fa50710ca
10 changed files with 39 additions and 39 deletions

View File

@ -17,17 +17,17 @@
<property name="text"/>
</class>
<class name="Plan" mutable="false">
<class name="Plan" table="tbl_plan" mutable="false">
<id name="id">
<generator class="increment"/>
</id>
<property name="description" not-null="true"/>
<set name="contracts" table="plan_contract" inverse="false" mutable="true" cascade="all" fetch="join">
<key column="plan"/>
<key column="col_plan"/>
<many-to-many column="contract" class="Contract"/>
</set>
<set name="infos" inverse="false" mutable="true" cascade="all-delete-orphan">
<key column="plan"/>
<key column="col_plan"/>
<one-to-many class="Info"/>
</set>
</class>
@ -65,7 +65,7 @@
</set>
<set name="plans" table="plan_contract" inverse="true" mutable="true" cascade="none">
<key column="contract"/>
<many-to-many column="plan" class="Plan"/>
<many-to-many column="col_plan" class="Plan"/>
</set>
<set name="parties" inverse="true" mutable="true" cascade="all" fetch="join">
<key column="contract"/>

View File

@ -17,17 +17,17 @@
<property name="text"/>
</class>
<class name="Plan" mutable="false">
<class name="Plan" table="tbl_plan" mutable="false">
<id name="id">
<generator class="increment"/>
</id>
<property name="description" not-null="true"/>
<set name="contracts" table="plan_contract" inverse="true" mutable="true" cascade="all" fetch="join">
<key column="plan"/>
<key column="col_plan"/>
<many-to-many column="contract" class="Contract"/>
</set>
<set name="infos" inverse="true" mutable="true" cascade="all-delete-orphan">
<key column="plan"/>
<key column="col_plan"/>
<one-to-many class="Info"/>
</set>
</class>
@ -63,7 +63,7 @@
</set>
<set name="plans" table="plan_contract" inverse="false" mutable="true" cascade="none">
<key column="contract"/>
<many-to-many column="plan" class="Plan"/>
<many-to-many column="col_plan" class="Plan"/>
</set>
<set name="parties" inverse="true" mutable="true" cascade="all" fetch="join">
<key column="contract"/>

View File

@ -17,17 +17,17 @@
<property name="text"/>
</class>
<class name="Plan" mutable="false">
<class name="Plan" table="tbl_plan" mutable="false">
<id name="id">
<generator class="increment"/>
</id>
<property name="description" not-null="true"/>
<set name="contracts" table="plan_contract" inverse="true" mutable="true" cascade="all" fetch="join">
<key column="plan"/>
<key column="col_plan"/>
<many-to-many column="contract" class="Contract"/>
</set>
<set name="infos" inverse="true" mutable="true" cascade="all-delete-orphan">
<key column="plan"/>
<key column="col_plan"/>
<one-to-many class="Info"/>
</set>
</class>
@ -70,7 +70,7 @@
</set>
<set name="plans" table="plan_contract" inverse="false" mutable="true" cascade="none">
<key column="contract"/>
<many-to-many column="plan" class="Plan"/>
<many-to-many column="col_plan" class="Plan"/>
</set>
<set name="parties" table="contract_party" inverse="true" mutable="true" cascade="all">
<key column="contract"/>

View File

@ -18,18 +18,18 @@
<property name="text"/>
</class>
<class name="Plan" mutable="false">
<class name="Plan" table="tbl_plan" mutable="false">
<id name="id">
<generator class="increment"/>
</id>
<version name="version" column="VERS" type="long" />
<property name="description" not-null="true"/>
<set name="contracts" table="plan_contract" inverse="true" mutable="true" cascade="all" fetch="join">
<key column="plan"/>
<key column="col_plan"/>
<many-to-many column="contract" class="Contract"/>
</set>
<set name="infos" inverse="true" mutable="true" cascade="all-delete-orphan">
<key column="plan"/>
<key column="col_plan"/>
<one-to-many class="Info"/>
</set>
</class>
@ -67,7 +67,7 @@
</set>
<set name="plans" table="plan_contract" inverse="false" mutable="true" cascade="none">
<key column="contract"/>
<many-to-many column="plan" class="Plan"/>
<many-to-many column="col_plan" class="Plan"/>
</set>
<set name="parties" inverse="true" mutable="true" cascade="all" fetch="join">
<key column="contract"/>

View File

@ -18,18 +18,18 @@
<property name="text"/>
</class>
<class name="Plan" mutable="false">
<class name="Plan" table="tbl_plan" mutable="false">
<id name="id">
<generator class="increment"/>
</id>
<version name="version" column="VERS" type="long" />
<property name="description" not-null="true"/>
<set name="contracts" table="plan_contract" inverse="true" mutable="true" cascade="all" fetch="join">
<key column="plan"/>
<key column="col_plan"/>
<many-to-many column="contract" class="Contract"/>
</set>
<set name="infos" inverse="true" mutable="true" cascade="all-delete-orphan">
<key column="plan"/>
<key column="col_plan"/>
<one-to-many class="Info"/>
</set>
</class>
@ -74,7 +74,7 @@
</set>
<set name="plans" table="plan_contract" inverse="false" mutable="true" cascade="none">
<key column="contract"/>
<many-to-many column="plan" class="Plan"/>
<many-to-many column="col_plan" class="Plan"/>
</set>
<set name="parties" table="contract_party" inverse="true" mutable="true" cascade="all">
<key column="contract"/>

View File

@ -17,17 +17,17 @@
<property name="text"/>
</class>
<class name="Plan" mutable="false">
<class name="Plan" table="tbl_plan" mutable="false">
<id name="id">
<generator class="increment"/>
</id>
<property name="description" not-null="true"/>
<set name="contracts" table="plan_contract" inverse="false" mutable="true" cascade="all" fetch="join">
<key column="plan"/>
<key column="col_plan"/>
<many-to-many column="contract" class="Contract"/>
</set>
<set name="infos" inverse="false" mutable="true" cascade="all-delete-orphan">
<key column="plan"/>
<key column="col_plan"/>
<one-to-many class="Info"/>
</set>
</class>
@ -63,7 +63,7 @@
</set>
<set name="plans" table="plan_contract" inverse="true" mutable="true" cascade="none">
<key column="contract"/>
<many-to-many column="plan" class="Plan"/>
<many-to-many column="col_plan" class="Plan"/>
</set>
<set name="parties" inverse="false" mutable="true" cascade="all" fetch="join">
<key column="contract"/>

View File

@ -17,17 +17,17 @@
<property name="text"/>
</class>
<class name="Plan" mutable="false">
<class name="Plan" table="tbl_plan" mutable="false">
<id name="id">
<generator class="increment"/>
</id>
<property name="description" not-null="true"/>
<set name="contracts" table="plan_contract" inverse="false" mutable="true" cascade="all" fetch="join">
<key column="plan"/>
<key column="col_plan"/>
<many-to-many column="contract" class="Contract"/>
</set>
<set name="infos" inverse="false" mutable="true" cascade="all-delete-orphan">
<key column="plan"/>
<key column="col_plan"/>
<one-to-many class="Info"/>
</set>
</class>
@ -70,7 +70,7 @@
</set>
<set name="plans" table="plan_contract" inverse="true" mutable="true" cascade="none">
<key column="contract"/>
<many-to-many column="plan" class="Plan"/>
<many-to-many column="col_plan" class="Plan"/>
</set>
<set name="parties" table="contract_party" inverse="false" mutable="true" cascade="all">
<key column="contract"/>

View File

@ -17,17 +17,17 @@
<property name="text"/>
</class>
<class name="Plan" mutable="false">
<class name="Plan" table="tbl_plan" mutable="false">
<id name="id">
<generator class="increment"/>
</id>
<property name="description" not-null="true"/>
<set name="contracts" table="plan_contract" inverse="false" mutable="true" cascade="all" fetch="join">
<key column="plan"/>
<key column="col_plan"/>
<many-to-many column="contract" class="Contract"/>
</set>
<set name="infos" inverse="false" mutable="true" cascade="all-delete-orphan">
<key column="plan"/>
<key column="col_plan"/>
<one-to-many class="Info"/>
</set>
</class>

View File

@ -18,18 +18,18 @@
<property name="text"/>
</class>
<class name="Plan" mutable="false">
<class name="Plan" table="tbl_plan" mutable="false">
<id name="id">
<generator class="increment"/>
</id>
<version name="version" column="VERS" type="long" />
<property name="description" not-null="true"/>
<set name="contracts" table="plan_contract" inverse="false" mutable="true" cascade="all" fetch="join">
<key column="plan"/>
<key column="col_plan"/>
<many-to-many column="contract" class="Contract"/>
</set>
<set name="infos" inverse="false" mutable="true" cascade="all-delete-orphan">
<key column="plan"/>
<key column="col_plan"/>
<one-to-many class="Info"/>
</set>
</class>
@ -67,7 +67,7 @@
</set>
<set name="plans" table="plan_contract" inverse="true" mutable="true" cascade="none">
<key column="contract"/>
<many-to-many column="plan" class="Plan"/>
<many-to-many column="col_plan" class="Plan"/>
</set>
<set name="parties" inverse="false" mutable="true" cascade="all" fetch="join">
<key column="contract"/>

View File

@ -18,18 +18,18 @@
<property name="text"/>
</class>
<class name="Plan" mutable="false">
<class name="Plan" table="tbl_plan" mutable="false">
<id name="id">
<generator class="increment"/>
</id>
<version name="version" column="VERS" type="long" />
<property name="description" not-null="true"/>
<set name="contracts" table="plan_contract" inverse="false" mutable="true" cascade="all" fetch="join">
<key column="plan"/>
<key column="col_plan"/>
<many-to-many column="contract" class="Contract"/>
</set>
<set name="infos" inverse="false" mutable="true" cascade="all-delete-orphan">
<key column="plan"/>
<key column="col_plan"/>
<one-to-many class="Info"/>
</set>
</class>
@ -74,7 +74,7 @@
</set>
<set name="plans" table="plan_contract" inverse="true" mutable="true" cascade="none">
<key column="contract"/>
<many-to-many column="plan" class="Plan"/>
<many-to-many column="col_plan" class="Plan"/>
</set>
<set name="parties" table="contract_party" inverse="false" mutable="true" cascade="all">
<key column="contract"/>