diff options
author | mtaal | 2008-09-21 19:26:04 +0000 |
---|---|---|
committer | mtaal | 2008-09-21 19:26:04 +0000 |
commit | 5cc3647f5271691eae740c5911015c38e200fd2a (patch) | |
tree | 3b25f5e1a2f0bb34ed6a6775c6d67f763144ace1 /tests/org.eclipse.emf.teneo.hibernate.test | |
parent | e415eab5996e812cc425114fff09e9fe319077af (diff) | |
download | org.eclipse.emf.teneo-5cc3647f5271691eae740c5911015c38e200fd2a.tar.gz org.eclipse.emf.teneo-5cc3647f5271691eae740c5911015c38e200fd2a.tar.xz org.eclipse.emf.teneo-5cc3647f5271691eae740c5911015c38e200fd2a.zip |
Added check on null
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test')
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml index 64c1fdf28..8eed8d197 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_a_o_hibernate.hbm.xml @@ -30,7 +30,7 @@ <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> </type> </property> - <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="false"> + <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="false"> <column not-null="false" unique="false" name="`manufacturer_manufacturer_e_id`"/> </many-to-one> </subclass> diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml index 394cf0a39..3c2212606 100644 --- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml +++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/RentalMapAsClassAction_mysql_s_o_hibernate.hbm.xml @@ -32,7 +32,7 @@ <param name="enumClass">org.eclipse.emf.teneo.rental.RentalBicycleType</param> </type> </property> - <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="true"> + <many-to-one name="manufacturer" entity-name="Manufacturer" lazy="proxy" cascade="merge,persist,save-update,lock,refresh" foreign-key="rentalbicycle_manufacturer" insert="true" update="true" not-null="true"> <column not-null="true" unique="false" name="`manufacturer_manufacturer_e_id`"/> </many-to-one> </joined-subclass> |