Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: c906171a6638b8378f08a60a93df522ae8952530 (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 entity-name="documentrootexp.DocumentRoot" abstract="false" lazy="false" table="`documentrootexp_documentroot`">
		<meta attribute="eclassName" inherit="false">DocumentRoot</meta>
		<meta attribute="epackage" inherit="false">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" inherit="false">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" inherit="false">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" inherit="false">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" inherit="false">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" table="`persontype`">
		<meta attribute="eclassName" inherit="false">PersonType</meta>
		<meta attribute="epackage" inherit="false">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" inherit="false">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" inherit="false">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>

Back to the top