Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: fa5029d4326336c5a83c07ef8faa32612bbe74d9 (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`" not-null="false" 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`" not-null="false" unique="false"/>
			</key>
			<list-index column="`person_notes_idx`"/>
			<one-to-many entity-name="Note"/>
		</list>
		<list name="parents" lazy="true" cascade="merge,persist,save-update,lock,refresh">
			<key update="true" foreign-key="person_parents">
				<column name="`person_parents_e_id`" not-null="false" 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