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.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml58
1 files changed, 43 insertions, 15 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml
index 3c2d5676f..04a2cd45c 100644
--- a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/mysql_s_o/hibernate.hbm.xml
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.PrimerPOAction/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 Sun Nov 12 01:10:05 CET 2006 -->
+<!-- Generated by Teneo on Mon Nov 13 15:28:18 CET 2006 -->
<hibernate-mapping>
<class entity-name="Item" abstract="false" lazy="false" table="`item`">
<meta attribute="eclassName">Item</meta>
@@ -13,12 +13,24 @@
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
- <property name="productName" type="java.lang.String" lazy="false" column="`productname`" not-null="true"/>
- <property name="quantity" type="java.math.BigInteger" lazy="false" column="`quantity`" not-null="true"/>
- <property name="uSPrice" type="java.math.BigDecimal" lazy="false" column="`usprice`" not-null="true"/>
- <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
- <property name="shipDate" type="serializable" lazy="false" column="`shipdate`" not-null="false"/>
- <property name="partNum" type="java.lang.String" lazy="false" column="`partnum`" not-null="true"/>
+ <property name="productName" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`productname`"/>
+ </property>
+ <property name="quantity" type="java.math.BigInteger" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`quantity`"/>
+ </property>
+ <property name="uSPrice" type="java.math.BigDecimal" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`usprice`"/>
+ </property>
+ <property name="comment" type="java.lang.String" lazy="false" not-null="false">
+ <column not-null="false" unique="false" name="`comment`"/>
+ </property>
+ <property name="shipDate" type="serializable" lazy="false" not-null="false">
+ <column not-null="false" unique="false" name="`shipdate`"/>
+ </property>
+ <property name="partNum" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`partnum`"/>
+ </property>
</class>
<class entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`">
<meta attribute="eclassName">PurchaseOrder</meta>
@@ -36,7 +48,9 @@
<many-to-one name="billTo" entity-name="USAddress" cascade="all" lazy="false" insert="true" update="true" not-null="true">
<column not-null="true" unique="false" name="`usaddress_billto_id`"/>
</many-to-one>
- <property name="comment" type="java.lang.String" lazy="false" column="`comment`" not-null="false"/>
+ <property name="comment" type="java.lang.String" lazy="false" not-null="false">
+ <column not-null="false" unique="false" name="`comment`"/>
+ </property>
<list name="items" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`purchaseorder_items_id`" not-null="false" unique="false"/>
@@ -44,7 +58,9 @@
<list-index column="`purchaseorder_items_idx`"/>
<one-to-many entity-name="Item"/>
</list>
- <property name="orderDate" type="serializable" lazy="false" column="`orderdate`" not-null="false"/>
+ <property name="orderDate" type="serializable" lazy="false" not-null="false">
+ <column not-null="false" unique="false" name="`orderdate`"/>
+ </property>
</class>
<class entity-name="USAddress" abstract="false" lazy="false" table="`usaddress`">
<meta attribute="eclassName">USAddress</meta>
@@ -56,11 +72,23 @@
<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" column="`name`" not-null="true"/>
- <property name="street" type="java.lang.String" lazy="false" column="`street`" not-null="true"/>
- <property name="city" type="java.lang.String" lazy="false" column="`city`" not-null="true"/>
- <property name="state" type="java.lang.String" lazy="false" column="`state`" not-null="true"/>
- <property name="zip" type="java.math.BigDecimal" lazy="false" column="`zip`" not-null="true"/>
- <property name="country" type="java.lang.String" lazy="false" column="`country`" not-null="false"/>
+ <property name="name" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`name`"/>
+ </property>
+ <property name="street" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" 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>
+ <property name="state" type="java.lang.String" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`state`"/>
+ </property>
+ <property name="zip" type="java.math.BigDecimal" lazy="false" not-null="true">
+ <column not-null="false" unique="false" name="`zip`"/>
+ </property>
+ <property name="country" type="java.lang.String" lazy="false" not-null="false">
+ <column not-null="false" unique="false" name="`country`"/>
+ </property>
</class>
</hibernate-mapping> \ No newline at end of file

Back to the top