blob: b97d89a12eac804374b68d7c3e708f61aeee5fd1 [file] [log] [blame]
<?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 entity-name="documentrootexp.DocumentRoot" abstract="false" lazy="false" discriminator-value="documentrootexp.DocumentRoot" table="`documentrootexp_documentroot`">
<meta attribute="eclassName">DocumentRoot</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentrootexp</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>
<discriminator type="string">
<column name="dtype" index="documentrootexp_documentrootdtype" 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">true</meta>
</version>
<list name="mixed" table="`documentrootexp_documentroot_mixed`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`documentroot_mixed_e_id`" not-null="false" unique="false"/>
</key>
<list-index column="`documentroot_mixed_idx`"/>
<one-to-many entity-name="DocumentRoot_mixed"/>
</list>
</class>
<class entity-name="DocumentRoot_mixed" lazy="false" table="`documentroot_mixed`">
<meta attribute="featureMap">documentrootexp.DocumentRoot</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"/>
<map name="xMLNSPrefixMap" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`mixed_documentroot_xmlnsprefixmap_e_id`" not-null="false" unique="false"/>
</key>
<map-key type="java.lang.String"/>
<element type="java.lang.String"/>
</map>
<map name="xSISchemaLocation" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`mixed_documentroot_xsischemalocation_e_id`" not-null="false" unique="false"/>
</key>
<map-key type="java.lang.String"/>
<element type="java.lang.String"/>
</map>
<any id-type="long" meta-type="string" name="aNYTHING" cascade="all">
<column not-null="false" unique="false" name="`mixed_anything_type`"/>
<column not-null="false" unique="false" name="`mixed_anything_id`"/>
</any>
<property name="fme_mixed_text" type="java.lang.String"/>
<property name="fme_mixed_cdata" type="java.lang.String"/>
<property name="fme_mixed_comment" type="java.lang.String"/>
</class>
<class entity-name="PersonType" abstract="false" lazy="false" discriminator-value="PersonType" table="`persontype`">
<meta attribute="eclassName">PersonType</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/documentrootexp</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>
<discriminator type="string">
<column name="dtype" index="persontypedtype" 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">true</meta>
</version>
<property name="lastName" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`lastname`"/>
</property>
<property name="age" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.math.BigInteger">
<column not-null="false" unique="false" name="`age`"/>
</property>
<property name="firstName" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`firstname`"/>
</property>
</class>
</hibernate-mapping>