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.test.emf.sample/MindMapAction_mysql_s_o_hibernate.hbm.xml')
-rwxr-xr-xtests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_s_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.test.emf.sample/MindMapAction_mysql_s_o_hibernate.hbm.xml b/tests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_s_o_hibernate.hbm.xml
new file mode 100755
index 000000000..9b4f15b2c
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.hibernate.test/hbm_old/org.eclipse.emf.teneo.test.emf.sample/MindMapAction_mysql_s_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"> <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">Map</meta> <meta attribute="epackage">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">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="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">Relationship</meta> <meta attribute="epackage">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">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="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" cascade="merge,persist,save-update,lock,refresh" foreign-key="relationship_source" lazy="false" 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" cascade="merge,persist,save-update,lock,refresh" foreign-key="relationship_target" lazy="false" 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> </type> </property> </class> <class name="org.example.mindmap.impl.ResourceImpl" entity-name="Resource" abstract="false" lazy="false" table="`resource`"> <meta attribute="eclassName">Resource</meta> <meta attribute="epackage">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">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="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">Thread</meta> <meta attribute="epackage">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">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="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" cascade="merge,persist,save-update,lock,refresh" foreign-key="thread_author" lazy="false" 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">ThreadItem</meta> <meta attribute="epackage">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">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="author" entity-name="Res \ No newline at end of file

Back to the top