Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 8ad25fcb8f59349d91da3e1aed73a0cc8ba24305 (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.test.databinding.emfdb.impl.FamilyImpl" entity-name="Family" abstract="false" lazy="false" table="`FAMILY`">
		<meta attribute="eclassName" inherit="false">Family</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/emfdb/1.0.0</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="string" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
			<column not-null="false" unique="false" name="`STRING`"/>
		</property>
		<list name="persons" lazy="true" cascade="all,delete-orphan">
			<key update="true" foreign-key="FAMILY_PERSONS">
				<column name="`FAMILY_PERSONS_E_ID`" unique="false"/>
			</key>
			<list-index column="`FAMILY_PERSONS_IDX`"/>
			<one-to-many entity-name="Person"/>
		</list>
	</class>
	<class name="org.eclipse.emf.test.databinding.emfdb.impl.PersonImpl" entity-name="Person" abstract="false" lazy="false" table="`PERSON`">
		<meta attribute="eclassName" inherit="false">Person</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/emfdb/1.0.0</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="notes" lazy="true" cascade="all,delete-orphan">
			<key update="true" foreign-key="PERSON_NOTES">
				<column name="`PERSON_NOTES_E_ID`" unique="false"/>
			</key>
			<list-index column="`PERSON_NOTES_IDX`"/>
			<one-to-many entity-name="Note"/>
		</list>
		<list name="parents" lazy="true" cascade="persist,merge,refresh,save-update,lock">
			<key update="true" foreign-key="PERSON_PARENTS">
				<column name="`PERSON_PARENTS_E_ID`" unique="false"/>
			</key>
			<list-index column="`PERSON_PARENTS_IDX`"/>
			<one-to-many entity-name="Person"/>
		</list>
	</class>
	<class name="org.eclipse.emf.test.databinding.emfdb.impl.NoteImpl" entity-name="Note" abstract="false" lazy="false" table="`NOTE`">
		<meta attribute="eclassName" inherit="false">Note</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/emfdb/1.0.0</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="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>
	</class>
</hibernate-mapping>

Back to the top