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/MindMapAction_mysql_e_o_hibernate.hbm.xml')
-rwxr-xr-xtests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_e_o_hibernate.hbm.xml213
1 files changed, 0 insertions, 213 deletions
diff --git a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_e_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_e_o_hibernate.hbm.xml
deleted file mode 100755
index 9a0ee5c83..000000000
--- a/tests/org.eclipse.emf.teneo.hibernate.test/hbm/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_e_o_hibernate.hbm.xml
+++ /dev/null
@@ -1,213 +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">
- <typedef name="mindmap.PriorityObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
- <param name="epackage">http://www.example.org/mindmap</param>
- <param name="edatatype">PriorityObject</param>
- </typedef>
- <typedef name="mindmap.RelationshipTypeObject" class="org.eclipse.emf.teneo.hibernate.mapping.DefaultToStringUserType">
- <param name="epackage">http://www.example.org/mindmap</param>
- <param name="edatatype">RelationshipTypeObject</param>
- </typedef>
- <class name="org.example.mindmap.impl.MapImpl" entity-name="Map" abstract="false" lazy="false" table="`map`">
- <meta attribute="eclassName" inherit="false">Map</meta>
- <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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>
- <list name="rootTopics" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="map_roottopics">
- <column name="`map_roottopics_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`map_roottopics_idx`"/>
- <one-to-many entity-name="Topic"/>
- </list>
- <list name="relations" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="map_relations">
- <column name="`map_relations_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`map_relations_idx`"/>
- <one-to-many entity-name="Relationship"/>
- </list>
- <list name="resources" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="map_resources">
- <column name="`map_resources_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`map_resources_idx`"/>
- <one-to-many entity-name="Resource"/>
- </list>
- <property name="title" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`title`"/>
- </property>
- </class>
- <class name="org.example.mindmap.impl.RelationshipImpl" entity-name="Relationship" abstract="false" lazy="false" table="`relationship`">
- <meta attribute="eclassName" inherit="false">Relationship</meta>
- <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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="label" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`label`"/>
- </property>
- <many-to-one name="source" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="relationship_source" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`topic_source_e_id`"/>
- </many-to-one>
- <many-to-one name="target" entity-name="Topic" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="relationship_target" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`topic_target_e_id`"/>
- </many-to-one>
- <property name="type" lazy="false" not-null="false" insert="true" update="true" unique="false">
- <column not-null="false" unique="false" name="`type`"/>
- <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
- <param name="enumClass">org.example.mindmap.RelationshipType</param>
- <param name="eclassifier">RelationshipType</param>
- <param name="epackage">http://www.example.org/mindmap</param>
- </type>
- </property>
- </class>
- <class name="org.example.mindmap.impl.ResourceImpl" entity-name="Resource" abstract="false" lazy="false" table="`resource`">
- <meta attribute="eclassName" inherit="false">Resource</meta>
- <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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>
- <list name="comments" lazy="true" cascade="merge,persist,save-update,lock,refresh">
- <key update="true">
- <column name="`thread_author_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`resource_comments_idx`"/>
- <one-to-many entity-name="Thread"/>
- </list>
- <property name="email" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`email`"/>
- </property>
- <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="topics" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`resource_topic`">
- <key update="true">
- <column name="`resource_e_id`" not-null="true" unique="false"/>
- </key>
- <list-index column="`resource_topics_idx`"/>
- <many-to-many entity-name="Topic" unique="false" foreign-key="resource_topics">
- <column name="`topic_e_id`" not-null="true" unique="false"/>
- </many-to-many>
- </list>
- </class>
- <class name="org.example.mindmap.impl.ThreadImpl" entity-name="Thread" abstract="false" lazy="false" table="`thread`">
- <meta attribute="eclassName" inherit="false">Thread</meta>
- <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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>
- <list name="items" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="thread_items">
- <column name="`thread_items_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`thread_items_idx`"/>
- <one-to-many entity-name="ThreadItem"/>
- </list>
- <many-to-one name="author" entity-name="Resource" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="thread_author" insert="false" update="false" not-null="false">
- <column not-null="false" unique="false" name="`thread_author_e_id`"/>
- </many-to-one>
- <property name="postDate" 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="`postdate`"/>
- </property>
- <property name="subject" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`subject`"/>
- </property>
- </class>
- <class name="org.example.mindmap.impl.ThreadItemImpl" entity-name="ThreadItem" abstract="false" lazy="false" table="`threaditem`">
- <meta attribute="eclassName" inherit="false">ThreadItem</meta>
- <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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="author" entity-name="Resource" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="threaditem_author" insert="true" update="true" not-null="false">
- <column not-null="false" unique="false" name="`resource_author_e_id`"/>
- </many-to-one>
- <property name="body" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
- <column not-null="false" unique="false" name="`body`"/>
- </property>
- <property name="itemPostDate" 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="`itempostdate`"/>
- </property>
- </class>
- <class name="org.example.mindmap.impl.TopicImpl" entity-name="Topic" abstract="false" lazy="false" table="`topic`">
- <meta attribute="eclassName" inherit="false">Topic</meta>
- <meta attribute="epackage" inherit="false">http://www.example.org/mindmap</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>
- <list name="comments" lazy="true" cascade="all,delete-orphan">
- <key update="true" foreign-key="topic_comments">
- <column name="`topic_comments_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`topic_comments_idx`"/>
- <one-to-many entity-name="Thread"/>
- </list>
- <property name="duration" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
- <column not-null="false" unique="false" name="`duration`"/>
- </property>
- <property name="endDate" 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="`enddate`"/>
- </property>
- <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="percentComplete" lazy="false" insert="true" update="true" not-null="false" unique="false" type="float">
- <column not-null="false" unique="false" name="`percentcomplete`"/>
- </property>
- <property name="priority" lazy="false" not-null="false" insert="true" update="true" unique="false">
- <column not-null="false" unique="false" name="`priority`"/>
- <type name="org.eclipse.emf.teneo.hibernate.mapping.ENumUserType">
- <param name="enumClass">org.example.mindmap.Priority</param>
- <param name="eclassifier">Priority</param>
- <param name="epackage">http://www.example.org/mindmap</param>
- </type>
- </property>
- <list name="resources" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`topic_resource`">
- <key update="true">
- <column name="`topic_e_id`" not-null="true" unique="false"/>
- </key>
- <list-index column="`topic_resources_idx`"/>
- <many-to-many entity-name="Resource" unique="false" foreign-key="topic_resources">
- <column name="`resource_e_id`" not-null="true" unique="false"/>
- </many-to-many>
- </list>
- <property name="startDate" 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="`startdate`"/>
- </property>
- <list name="subtopics" lazy="true" cascade="merge,persist,save-update,lock,refresh">
- <key update="true" foreign-key="topic_subtopics">
- <column name="`topic_subtopics_e_id`" not-null="false" unique="false"/>
- </key>
- <list-index column="`topic_subtopics_idx`"/>
- <one-to-many entity-name="Topic"/>
- </list>
- </class>
-</hibernate-mapping> \ No newline at end of file

Back to the top