Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml34
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml
index 3166e3db2..881a44b20 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.annotations.InheritanceAnnotationAction/mysql_s_o/hibernate.hbm.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
-<!-- Generated by Teneo on Mon Nov 13 15:26:53 CET 2006 -->
+<!-- Generated by Teneo on Mon Nov 13 20:17:21 CET 2006 -->
<hibernate-mapping>
<typedef name="inheritancemapping.USStateObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
<param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</param>
@@ -11,23 +11,23 @@
<meta attribute="eclassName">Address</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta>
<id name="name" type="java.lang.String">
- <column not-null="false" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`name`"/>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="street" type="java.lang.String" lazy="false" not-null="true">
- <column not-null="false" unique="false" name="`street`"/>
+ <property name="street" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="true" unique="false" name="`street`"/>
</property>
- <property name="city" type="java.lang.String" lazy="false" not-null="true">
- <column not-null="false" unique="false" name="`city`"/>
+ <property name="city" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="true" unique="false" name="`city`"/>
</property>
</class>
<class entity-name="ContentList" abstract="false" lazy="false" table="`contentlist`">
<meta attribute="eclassName">ContentList</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta>
<id name="name" type="java.lang.String">
- <column not-null="false" unique="false" name="`name`"/>
+ <column not-null="true" unique="false" name="`name`"/>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
@@ -53,8 +53,8 @@
<key>
<column name="`address_name`"/>
</key>
- <property name="postcode" type="java.lang.String" lazy="false" not-null="true">
- <column not-null="false" unique="false" name="`postcode`"/>
+ <property name="postcode" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="true" unique="false" name="`postcode`"/>
</property>
</joined-subclass>
<joined-subclass entity-name="DistrictUKAddress" abstract="false" lazy="false" extends="UKAddress" table="`districtukaddress`">
@@ -63,7 +63,7 @@
<key>
<column name="`ukaddress_name`"/>
</key>
- <property name="district" type="java.lang.String" lazy="false" not-null="false">
+ <property name="district" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false">
<column not-null="false" unique="false" name="`district`"/>
</property>
</joined-subclass>
@@ -78,17 +78,17 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="name" type="java.lang.String" lazy="false" not-null="true">
- <column not-null="false" unique="false" name="`name`"/>
+ <property name="name" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="true" unique="false" name="`name`"/>
</property>
- <property name="value" type="java.math.BigDecimal" lazy="false" not-null="true">
- <column not-null="false" unique="false" name="`value`"/>
+ <property name="value" type="java.math.BigDecimal" lazy="false" insert="true" update="true" not-null="true" unique="false">
+ <column not-null="true" unique="false" name="`value`"/>
</property>
</class>
<subclass entity-name="InternationalPrice" abstract="false" lazy="false" extends="Price" discriminator-value="myInternationalPrice">
<meta attribute="eclassName">InternationalPrice</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping</meta>
- <property name="currency" type="java.lang.String" lazy="false" not-null="false">
+ <property name="currency" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false">
<column not-null="false" unique="false" name="`currency`"/>
</property>
</subclass>
@@ -98,13 +98,13 @@
<key>
<column name="`address_name`"/>
</key>
- <property name="state" lazy="false" not-null="false">
+ <property name="state" lazy="false" not-null="false" insert="true" update="true" unique="false">
<column not-null="false" unique="false" name="`state`"/>
<type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
<param name="enumClass">org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState</param>
</type>
</property>
- <property name="zip" type="java.math.BigInteger" lazy="false" not-null="false">
+ <property name="zip" type="java.math.BigInteger" lazy="false" insert="true" update="true" not-null="false" unique="false">
<column not-null="false" unique="false" name="`zip`"/>
</property>
</joined-subclass>

Back to the top