blob: 51cc6cb5c17e0a80235ee9fd8a034c714e1db6ac (
plain) (
tree)
|
|
<?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.schemaconstructs.groupall.impl.AddressImpl" entity-name="Address" abstract="false" lazy="false" discriminator-value="Address" table="`ADDRESS`">
<meta attribute="eclassName" inherit="false">Address</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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>
<discriminator type="string">
<column name="`DTYPE`" index="ADDRESSDTYPE" length="255" not-null="true"/>
</discriminator>
<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="group" table="`ADDRESS_GROUP`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`ADDRESS_GROUP_E_ID`" unique="false"/>
</key>
<list-index column="`ADDRESS_GROUP_IDX`"/>
<one-to-many entity-name="Address_group"/>
</list>
</class>
<class entity-name="Address_group" lazy="false" table="`ADDRESS_GROUP`">
<meta attribute="featureMap" inherit="false">Address</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<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="`GROUP_NAME`"/>
</property>
<property name="longName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`GROUP_LONGNAME`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressGroupImpl" entity-name="AddressGroup" abstract="false" lazy="false" discriminator-value="AddressGroup" table="`ADDRESSGROUP`">
<meta attribute="eclassName" inherit="false">AddressGroup</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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>
<discriminator type="string">
<column name="`DTYPE`" index="ADDRESSGROUPDTYPE" length="255" not-null="true"/>
</discriminator>
<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="groupName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`GROUPNAME`"/>
</property>
<many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="ADDRESSGROUP_SHIPTO" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`ADDRESS_SHIPTO_E_ID`"/>
</many-to-one>
<many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="ADDRESSGROUP_BILLTO" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`ADDRESS_BILLTO_E_ID`"/>
</many-to-one>
<property name="simpleAddress" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`SIMPLEADDRESS`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressListImpl" entity-name="AddressList" abstract="false" lazy="false" discriminator-value="AddressList" table="`ADDRESSLIST`">
<meta attribute="eclassName" inherit="false">AddressList</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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>
<discriminator type="string">
<column name="`DTYPE`" index="ADDRESSLISTDTYPE" length="255" not-null="true"/>
</discriminator>
<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="groupName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`GROUPNAME`"/>
</property>
<list name="addrs" table="`ADDRESSLIST_ADDRS`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`ADDRESSLIST_ADDRS_E_ID`" unique="false"/>
</key>
<list-index column="`ADDRESSLIST_ADDRS_IDX`"/>
<one-to-many entity-name="AddressList_addrs"/>
</list>
</class>
<class entity-name="AddressList_addrs" lazy="false" table="`ADDRESSLIST_ADDRS`">
<meta attribute="featureMap" inherit="false">AddressList</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<many-to-one name="shipTo" entity-name="Address" lazy="false" cascade="all" foreign-key="ADDRESSLIST_SHIPTO" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`ADDRS_ADDRESS_SHIPTO_E_ID`"/>
</many-to-one>
<many-to-one name="billTo" entity-name="Address" lazy="false" cascade="all" foreign-key="ADDRESSLIST_BILLTO" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`ADDRS_ADDRESS_BILLTO_E_ID`"/>
</many-to-one>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllMapTypeImpl" entity-name="SimpleAllMapType" abstract="false" lazy="false" discriminator-value="SimpleAllMapType" table="`SIMPLEALLMAPTYPE`">
<meta attribute="eclassName" inherit="false">SimpleAllMapType</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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>
<discriminator type="string">
<column name="`DTYPE`" index="SIMPLEALLMAPTYPEDTYPE" length="255" not-null="true"/>
</discriminator>
<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="allMap" table="`SIMPLEALLMAPTYPE_ALLMAP`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`SIMPLEALLMAPTYPE_ALLMAP_E_ID`" unique="false"/>
</key>
<list-index column="`SIMPLEALLMAPTYPE_ALLMAP_IDX`"/>
<one-to-many entity-name="SimpleAllMapType_allMap"/>
</list>
</class>
<class entity-name="SimpleAllMapType_allMap" lazy="false" table="`SIMPLEALLMAPTYPE_ALLMAP`">
<meta attribute="featureMap" inherit="false">SimpleAllMapType</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="aaa" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ALLMAP_AAA`"/>
</property>
<property name="bbb" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ALLMAP_BBB`"/>
</property>
<property name="ccc" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`ALLMAP_CCC`"/>
</property>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.SimpleAllTypeImpl" entity-name="SimpleAllType" abstract="false" lazy="false" discriminator-value="SimpleAllType" table="`SIMPLEALLTYPE`">
<meta attribute="eclassName" inherit="false">SimpleAllType</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/groupall</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>
<discriminator type="string">
<column name="`DTYPE`" index="SIMPLEALLTYPEDTYPE" length="255" not-null="true"/>
</discriminator>
<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="aaa" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`AAA`"/>
</property>
<property name="bbb" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`BBB`"/>
</property>
<property name="ccc" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`CCC`"/>
</property>
</class>
</hibernate-mapping>
|