blob: e024ed689fcfae5341d7235720e423449febc297 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<?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">
<!-- Generated by Teneo on Wed Nov 29 07:28:22 CET 2006 -->
<hibernate-mapping>
<class entity-name="Person" abstract="false" lazy="false" table="`person`">
<meta attribute="eclassName">Person</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/bagduplicate</meta>
<id name="name" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<many-to-one name="father" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`person_father_name`"/>
</many-to-one>
<many-to-one name="mother" entity-name="Person" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`person_mother_name`"/>
</many-to-one>
<bag name="children" table="person_person" lazy="true" cascade="merge,persist,save-update,lock,refresh">
<key/>
<many-to-many entity-name="Person" unique="false"/>
</bag>
</class>
</hibernate-mapping>
|