Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_s_o_hibernate.hbm.xml')
-rw-r--r--tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_s_o_hibernate.hbm.xml93
1 files changed, 0 insertions, 93 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_s_o_hibernate.hbm.xml
deleted file mode 100644
index 962b2fb32..000000000
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/PrimerPOAction_mysql_s_o_hibernate.hbm.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-<?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">
-
-<hibernate-mapping auto-import="false">
- <class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" table="`item`">
- <meta attribute="eclassName" inherit="false">Item</meta>
- <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</meta>
- <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
- <meta attribute="syntheticId" inherit="false">true</meta>
- <generator class="native"/>
- </id>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion" inherit="false">true</meta>
- </version>
- <property name="productName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`productname`"/>
- </property>
- <property name="quantity" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigInteger">
- <column not-null="true" unique="false" name="`quantity`"/>
- </property>
- <property name="uSPrice" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal">
- <column not-null="true" unique="false" name="`usprice`"/>
- </property>
- <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`comment`"/>
- </property>
- <property name="shipDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate">
- <column not-null="false" unique="false" name="`shipdate`"/>
- </property>
- <property name="partNum" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`partnum`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" table="`purchaseorder`">
- <meta attribute="eclassName" inherit="false">PurchaseOrder</meta>
- <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</meta>
- <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
- <meta attribute="syntheticId" inherit="false">true</meta>
- <generator class="native"/>
- </id>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion" inherit="false">true</meta>
- </version>
- <many-to-one name="shipTo" entity-name="USAddress" lazy="false" cascade="all" foreign-key="purchaseorder_shipto" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`usaddress_shipto_e_id`"/>
- </many-to-one>
- <many-to-one name="billTo" entity-name="USAddress" lazy="false" cascade="all" foreign-key="purchaseorder_billto" insert="true" update="true" not-null="true" unique="true">
- <column not-null="true" unique="false" name="`usaddress_billto_e_id`"/>
- </many-to-one>
- <property name="comment" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`comment`"/>
- </property>
- <list name="items" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="purchaseorder_items">
- <column name="`purchaseorder_items_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`purchaseorder_items_idx`"/>
- <one-to-many entity-name="Item"/>
- </list>
- <property name="orderDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="org.eclipse.emf.teneo.hibernate.mapping.XSDDate">
- <column not-null="false" unique="false" name="`orderdate`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" table="`usaddress`">
- <meta attribute="eclassName" inherit="false">USAddress</meta>
- <meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/sample/schemaprimerpo</meta>
- <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
- <meta attribute="syntheticId" inherit="false">true</meta>
- <generator class="native"/>
- </id>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion" inherit="false">true</meta>
- </version>
- <property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`name`"/>
- </property>
- <property name="street" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`street`"/>
- </property>
- <property name="city" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`city`"/>
- </property>
- <property name="state" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
- <column not-null="true" unique="false" name="`state`"/>
- </property>
- <property name="zip" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.math.BigDecimal">
- <column not-null="true" unique="false" name="`zip`"/>
- </property>
- <property name="country" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`country`"/>
- </property>
- </class>
-</hibernate-mapping> \ No newline at end of file

Back to the top