| <?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.annotations.any.impl.AnyObjectImpl" entity-name="AnyObject" abstract="false" lazy="false" table="`anyobject`"> |
| <meta attribute="eclassName">AnyObject</meta> |
| <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta> |
| <id name="id" type="java.lang.String"> |
| <column not-null="true" unique="false" name="`id`"/> |
| </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="globalInt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int"> |
| <column not-null="false" unique="false" name="`globalint`"/> |
| </property> |
| <property name="globalString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String"> |
| <column not-null="false" unique="false" name="`globalstring`"/> |
| </property> |
| <any id-type="string" meta-type="string" name="anyOne" cascade="all"> |
| <column not-null="false" unique="false" name="`any_type`"/> |
| <column not-null="false" unique="false" name="`anyone_id`"/> |
| </any> |
| <list name="any" table="`anyobject_any`" lazy="true" cascade="all,delete-orphan"> |
| <key update="true"> |
| <column name="`anyobject_any_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`anyobject_any_idx`"/> |
| <one-to-many entity-name="AnyObject_any"/> |
| </list> |
| <list name="group" table="`anyobject_group`" lazy="true" cascade="all,delete-orphan"> |
| <key update="true"> |
| <column name="`anyobject_group_id`" not-null="false" unique="false"/> |
| </key> |
| <list-index column="`anyobject_group_idx`"/> |
| <one-to-many entity-name="AnyObject_group"/> |
| </list> |
| </class> |
| <class entity-name="AnyObject_any" lazy="false" table="`anyobject_any`"> |
| <meta attribute="featureMap">AnyObject</meta> |
| <id type="long"> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion">true</meta> |
| </version> |
| <property name="fme_feature" type="java.lang.String"/> |
| <property name="any_fme_any_data" type="java.lang.String"/> |
| <any id-type="string" meta-type="string" name="any_fme_any_reference" cascade="all"> |
| <column not-null="false" unique="false" name="`any_type`"/> |
| <column not-null="false" unique="false" name="`any_id`"/> |
| </any> |
| </class> |
| <class entity-name="AnyObject_group" lazy="false" table="`anyobject_group`"> |
| <meta attribute="featureMap">AnyObject</meta> |
| <id type="long"> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion">true</meta> |
| </version> |
| <property name="fme_feature" type="java.lang.String"/> |
| <many-to-one name="any1" entity-name="AnyObject_any1" cascade="all" not-null="false"/> |
| </class> |
| <class entity-name="AnyObject_any1" lazy="false" table="`anyobject_any1`"> |
| <meta attribute="featureMap">AnyObject</meta> |
| <id type="long"> |
| <generator class="native"/> |
| </id> |
| <version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler"> |
| <meta attribute="syntheticVersion">true</meta> |
| </version> |
| <property name="fme_feature" type="java.lang.String"/> |
| <property name="any1_fme_any_data" type="java.lang.String"/> |
| <any id-type="string" meta-type="string" name="any1_fme_any_reference" cascade="all"> |
| <column not-null="false" unique="false" name="`any_type`"/> |
| <column not-null="false" unique="false" name="`any1_id`"/> |
| </any> |
| </class> |
| <class name="org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl" entity-name="GlobalObjectType" abstract="false" lazy="false" table="`globalobjecttype`"> |
| <meta attribute="eclassName">GlobalObjectType</meta> |
| <meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta> |
| <id name="id" type="java.lang.String"> |
| <column not-null="true" unique="false" name="`id`"/> |
| </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="true" unique="false" type="java.lang.String"> |
| <column not-null="true" unique="false" name="`name`"/> |
| </property> |
| </class> |
| </hibernate-mapping> |