Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_e_o_hibernate.hbm.xml')
-rwxr-xr-xtests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_e_o_hibernate.hbm.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_e_o_hibernate.hbm.xml
new file mode 100755
index 000000000..663ce7397
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.hibernate.test.emf.sample/ExtendedPO2Test$1_mysql_e_o_hibernate.hbm.xml
@@ -0,0 +1 @@
+<?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" 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> <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" cascade="merge,persist,save-update,lock,refresh" foreign-key="item_order" lazy="false" 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" 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> <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> <joined-subclass name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.USAddressImpl" entity-name="USAddress" abstract="false" lazy="false" extends="Address" table="`usaddress`"> <meta attribute="eclassName">USAddress</meta> <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/extendedpo2</meta> <key> <column name="`address_e_id`"/> </key> <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> </joined-subclass> <class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.PurchaseOrderImpl" entity-name="PurchaseOrder" abstract="false" lazy="false" 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> <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" cascade="all" foreign-key="purchaseorder_billto" lazy="false" 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" cascade="all" foreign-key="purchaseorder_shipto" lazy="false" 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> </type> </property> <many-to-one name="customer" entity-name="Customer" cascade="merge,persist,save-update,lock,refresh" foreign-key="purchaseorder_customer" lazy="false" 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" cascade="merge,persist,save-update,lock,refresh" foreign-key="purchaseorder_previousorder" lazy="false" 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" 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> <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" \ No newline at end of file

Back to the top