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.YahooAction/mysql_a_o/hibernate.hbm.xml')
-rwxr-xr-xtests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.YahooAction/mysql_a_o/hibernate.hbm.xml64
1 files changed, 64 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.YahooAction/mysql_a_o/hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.YahooAction/mysql_a_o/hibernate.hbm.xml
new file mode 100755
index 000000000..5220f8f2a
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/run/org.eclipse.emf.teneo.test.emf.sample.YahooAction/mysql_a_o/hibernate.hbm.xml
@@ -0,0 +1,64 @@
+<?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 Fri Nov 10 21:05:58 CET 2006 -->
+<hibernate-mapping>
+ <class entity-name="Identifiable" abstract="true" lazy="false" discriminator-value="Identifiable" table="`identifiable`">
+ <meta attribute="eclassName">Identifiable</meta>
+ <meta attribute="epackage">http:///com/pareis/trading.ecore</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 column="`dtype`" type="string"/>
+ <version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
+ <meta attribute="syntheticVersion">true</meta>
+ </version>
+ <property name="id" type="java.lang.String" lazy="false" column="`id`" not-null="false"/>
+ </class>
+ <subclass entity-name="Client" abstract="false" lazy="false" extends="Identifiable" discriminator-value="Client">
+ <meta attribute="eclassName">Client</meta>
+ <meta attribute="epackage">http:///com/pareis/trading.ecore</meta>
+ <many-to-one name="System" entity-name="System" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`client_system_id`"/>
+ </many-to-one>
+ <list name="vendors" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`yahoo_client_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`client_vendors_idx`"/>
+ <one-to-many entity-name="Yahoo"/>
+ </list>
+ </subclass>
+ <subclass entity-name="System" abstract="false" lazy="false" extends="Identifiable" discriminator-value="System">
+ <meta attribute="eclassName">System</meta>
+ <meta attribute="epackage">http:///com/pareis/trading.ecore</meta>
+ <list name="clients" lazy="true" cascade="all,delete-orphan">
+ <key update="true">
+ <column name="`client_system_id`" not-null="false" unique="false"/>
+ </key>
+ <list-index column="`system_clients_idx`"/>
+ <one-to-many entity-name="Client"/>
+ </list>
+ </subclass>
+ <subclass entity-name="Yahoo" abstract="false" lazy="false" extends="Identifiable" discriminator-value="Yahoo">
+ <meta attribute="eclassName">Yahoo</meta>
+ <meta attribute="epackage">http:///com/pareis/trading/yahoo.ecore</meta>
+ <one-to-one name="indicesComponentsSource" entity-name="YahooIndicesComponentsSource" property-ref="vendor" cascade="all" lazy="false"/>
+ <one-to-one name="indicesSeed" entity-name="YahooIndicesSeed" property-ref="vendor" cascade="all" lazy="false"/>
+ <many-to-one name="Client" entity-name="Client" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="false" update="false" not-null="false">
+ <column not-null="false" unique="false" name="`yahoo_client_id`"/>
+ </many-to-one>
+ </subclass>
+ <subclass entity-name="YahooIndicesComponentsSource" abstract="false" lazy="false" extends="Identifiable" discriminator-value="YahooIndicesComponentsSource">
+ <meta attribute="eclassName">YahooIndicesComponentsSource</meta>
+ <meta attribute="epackage">http:///com/pareis/trading/yahoo.ecore</meta>
+ <many-to-one name="vendor" entity-name="Yahoo" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/>
+ </subclass>
+ <subclass entity-name="YahooIndicesSeed" abstract="false" lazy="false" extends="Identifiable" discriminator-value="YahooIndicesSeed">
+ <meta attribute="eclassName">YahooIndicesSeed</meta>
+ <meta attribute="epackage">http:///com/pareis/trading/yahoo.ecore</meta>
+ <property name="seedSymbols" type="java.lang.String" lazy="false" column="`seedsymbols`" not-null="false"/>
+ <many-to-one name="vendor" entity-name="Yahoo" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" unique="true"/>
+ </subclass>
+</hibernate-mapping> \ No newline at end of file

Back to the top