Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gmf/org.eclipse.gmf.examples.mindmap/model/cdo_hibernate.hbm.xml')
-rw-r--r--examples/gmf/org.eclipse.gmf.examples.mindmap/model/cdo_hibernate.hbm.xml227
1 files changed, 0 insertions, 227 deletions
diff --git a/examples/gmf/org.eclipse.gmf.examples.mindmap/model/cdo_hibernate.hbm.xml b/examples/gmf/org.eclipse.gmf.examples.mindmap/model/cdo_hibernate.hbm.xml
deleted file mode 100644
index a7cbc516c..000000000
--- a/examples/gmf/org.eclipse.gmf.examples.mindmap/model/cdo_hibernate.hbm.xml
+++ /dev/null
@@ -1,227 +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.eclipse.gmf.examples.mindmap.impl.MapImpl" entity-name="Map" abstract="false" lazy="false" discriminator-value="Map" table="`map`">
- <meta attribute="eclassName">Map</meta>
- <meta attribute="epackage">http://www.example.org/mindmap</meta>
- <tuplizer entity-mode="pojo" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <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>
- <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.eclipse.gmf.examples.mindmap.impl.RelationshipImpl" entity-name="Relationship" abstract="false" lazy="false" discriminator-value="Relationship" table="`relationship`">
- <meta attribute="eclassName">Relationship</meta>
- <meta attribute="epackage">http://www.example.org/mindmap</meta>
- <tuplizer entity-mode="pojo" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <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="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" 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" 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.eclipse.gmf.examples.mindmap.RelationshipType</param>
- </type>
- </property>
- </class>
- <class name="org.eclipse.gmf.examples.mindmap.impl.ResourceImpl" entity-name="Resource" abstract="false" lazy="false" discriminator-value="Resource" table="`resource`">
- <meta attribute="eclassName">Resource</meta>
- <meta attribute="epackage">http://www.example.org/mindmap</meta>
- <tuplizer entity-mode="pojo" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <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>
- <list name="comments" lazy="true">
- <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" table="`resource_topics`">
- <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.eclipse.gmf.examples.mindmap.impl.ThreadImpl" entity-name="Thread" abstract="false" lazy="false" discriminator-value="Thread" table="`thread`">
- <meta attribute="eclassName">Thread</meta>
- <meta attribute="epackage">http://www.example.org/mindmap</meta>
- <tuplizer entity-mode="pojo" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <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>
- <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" 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.eclipse.gmf.examples.mindmap.impl.ThreadItemImpl" entity-name="ThreadItem" abstract="false" lazy="false" discriminator-value="ThreadItem" table="`threaditem`">
- <meta attribute="eclassName">ThreadItem</meta>
- <meta attribute="epackage">http://www.example.org/mindmap</meta>
- <tuplizer entity-mode="pojo" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <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>
- <many-to-one name="author" entity-name="Resource" foreign-key="threaditem_author" lazy="false" 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.eclipse.gmf.examples.mindmap.impl.TopicImpl" entity-name="Topic" abstract="false" lazy="false" discriminator-value="Topic" table="`topic`">
- <meta attribute="eclassName">Topic</meta>
- <meta attribute="epackage">http://www.example.org/mindmap</meta>
- <tuplizer entity-mode="pojo" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <tuplizer entity-mode="dynamic-map" class="org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDORevisionTuplizer"/>
- <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>
- <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.eclipse.gmf.examples.mindmap.Priority</param>
- </type>
- </property>
- <list name="resources" lazy="true" table="`topic_resources`">
- <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">
- <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