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.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_a_o_hibernate.hbm.xml')
-rwxr-xr-xtests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_a_o_hibernate.hbm.xml209
1 files changed, 0 insertions, 209 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_a_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_a_o_hibernate.hbm.xml
deleted file mode 100755
index 6665e7fc8..000000000
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_a_o_hibernate.hbm.xml
+++ /dev/null
@@ -1,209 +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.epo2.impl.ItemImpl" entity-name="Item" abstract="false" lazy="false" discriminator-value="Item" table="`item`">
- <meta attribute="eclassName">Item</meta>
- <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta>
- <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
- <meta attribute="syntheticId">true</meta>
- <generator class="native"/>
- </id>
- <discriminator type="string">
- <column name="dtype" index="itemdtype" length="255" not-null="true"/>
- </discriminator>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <many-to-one name="order" entity-name="PurchaseOrder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="item_order" insert="false" update="false" not-null="false">
- <column not-null="false" unique="false" name="`item_order_e_id`"/>
- </many-to-one>
- <property name="productName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`productname`"/>
- </property>
- <property name="quantity" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`quantity`"/>
- </property>
- <property name="USPrice" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" 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="timestamp">
- <column not-null="false" unique="false" name="`shipdate`"/>
- </property>
- <property name="partNum" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`partnum`"/>
- </property>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.AddressImpl" entity-name="Address" abstract="true" lazy="false" discriminator-value="Address" table="`address`">
- <meta attribute="eclassName">Address</meta>
- <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta>
- <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
- <meta attribute="syntheticId">true</meta>
- <generator class="native"/>
- </id>
- <discriminator type="string">
- <column name="dtype" index="addressdtype" length="255" not-null="true"/>
- </discriminator>
- <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" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`name`"/>
- </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>
- <subclass name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" discriminator-value="USAddress">
- <meta attribute="eclassName">USAddress</meta>
- <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta>
- <property name="street" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`street`"/>
- </property>
- <property name="city" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`city`"/>
- </property>
- <property name="state" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`state`"/>
- </property>
- <property name="zip" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`zip`"/>
- </property>
- </subclass>
- <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" discriminator-value="PurchaseOrder" table="`purchaseorder`">
- <meta attribute="eclassName">PurchaseOrder</meta>
- <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta>
- <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
- <meta attribute="syntheticId">true</meta>
- <generator class="native"/>
- </id>
- <discriminator type="string">
- <column name="dtype" index="purchaseorderdtype" length="255" not-null="true"/>
- </discriminator>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <list name="items" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="purchaseorder_items">
- <column name="`item_order_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`purchaseorder_items_idx`"/>
- <one-to-many entity-name="Item"/>
- </list>
- <many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="purchaseorder_billto" insert="true" update="true" not-null="true" unique="true">
- <column not-null="true" unique="false" name="`address_billto_e_id`"/>
- </many-to-one>
- <many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="purchaseorder_shipto" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`address_shipto_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>
- <property name="orderDate" lazy="false" insert="true" update="true" not-null="false" unique="false" type="timestamp">
- <column not-null="false" unique="false" name="`orderdate`"/>
- </property>
- <property name="status" lazy="false" not-null="false" insert="true" update="true" unique="false">
- <column not-null="false" unique="false" name="`status`"/>
- <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
- <param name="enumClass">org.eclipse.emf.teneo.samples.emf.sample.epo2.OrderStatus</param>
- <param name="eclassifier">OrderStatus</param>
- <param name="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</param>
- </type>
- </property>
- <many-to-one name="customer" entity-name="Customer" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="purchaseorder_customer" insert="false" update="false" not-null="false">
- <column not-null="false" unique="false" name="`purchaseorder_customer_e_id`"/>
- </many-to-one>
- <many-to-one name="previousOrder" entity-name="PurchaseOrder" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="purchaseorder_previousorder" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`purchaseorder_previousorder_e_id`"/>
- </many-to-one>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.SupplierImpl" entity-name="Supplier" abstract="false" lazy="false" discriminator-value="Supplier" table="`supplier`">
- <meta attribute="eclassName">Supplier</meta>
- <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta>
- <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
- <meta attribute="syntheticId">true</meta>
- <generator class="native"/>
- </id>
- <discriminator type="string">
- <column name="dtype" index="supplierdtype" length="255" not-null="true"/>
- </discriminator>
- <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" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`name`"/>
- </property>
- <list name="customers" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="supplier_customers">
- <column name="`supplier_customers_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`supplier_customers_idx`"/>
- <one-to-many entity-name="Customer"/>
- </list>
- <list name="orders" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="supplier_orders">
- <column name="`supplier_orders_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`supplier_orders_idx`"/>
- <one-to-many entity-name="PurchaseOrder"/>
- </list>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.CustomerImpl" entity-name="Customer" abstract="false" lazy="false" discriminator-value="Customer" table="`customer`">
- <meta attribute="eclassName">Customer</meta>
- <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta>
- <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
- <meta attribute="syntheticId">true</meta>
- <generator class="native"/>
- </id>
- <discriminator type="string">
- <column name="dtype" index="customerdtype" length="255" not-null="true"/>
- </discriminator>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <property name="customerID" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`customerid`"/>
- </property>
- <list name="orders" lazy="true" cascade="merge,persist,save-update,lock,refresh">
- <key update="true">
- <column name="`purchaseorder_customer_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`customer_orders_idx`"/>
- <one-to-many entity-name="PurchaseOrder"/>
- </list>
- </class>
- <subclass name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.GlobalAddressImpl" entity-name="GlobalAddress" abstract="false" lazy="false" extends="Address" discriminator-value="GlobalAddress">
- <meta attribute="eclassName">GlobalAddress</meta>
- <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta>
- <property name="countryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`countrycode`"/>
- </property>
- <list name="location" table="`globaladdress_location`" lazy="true" cascade="all,delete-orphan">
- <key update="true">
- <column name="`globaladdress_location_e_id`" not-null="true" unique="false"/>
- </key>
- <list-index column="`globaladdress_location_idx`"/>
- <element type="java.lang.String"/>
- </list>
- </subclass>
- <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.GlobalLocationImpl" entity-name="GlobalLocation" abstract="false" lazy="false" discriminator-value="GlobalLocation" table="`globallocation`">
- <meta attribute="eclassName">GlobalLocation</meta>
- <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta>
- <id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
- <meta attribute="syntheticId">true</meta>
- <generator class="native"/>
- </id>
- <discriminator type="string">
- <column name="dtype" index="globallocationdtype" length="255" not-null="true"/>
- </discriminator>
- <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
- <meta attribute="syntheticVersion">true</meta>
- </version>
- <property name="countryCode" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
- <column not-null="false" unique="false" name="`countrycode`"/>
- </property>
- </class>
-</hibernate-mapping> \ No newline at end of file

Back to the top