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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
|
<?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 Tue Jul 17 19:28:21 CEST 2007 -->
<hibernate-mapping auto-import="false">
<class name="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MainImpl" entity-name="Main" abstract="false" lazy="false" table="`main`">
<meta attribute="eclassName">Main</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relationntom</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>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">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>
<bag name="multinr" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`main_multinr`">
<key update="true">
<column name="`main_e_id`" not-null="true" unique="false"/>
</key>
<many-to-many entity-name="MultiNR" unique="false">
<column name="`multinr_e_id`" not-null="true" unique="false"/>
</many-to-many>
</bag>
<bag name="multirn" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`main_multirn`">
<key update="true">
<column name="`main_e_id`" not-null="true" unique="false"/>
</key>
<many-to-many entity-name="MultiRN" unique="false">
<column name="`multirn_e_id`" not-null="true" unique="false"/>
</many-to-many>
</bag>
<bag name="multinn" lazy="true" cascade="merge,persist,save-update,lock,refresh" inverse="true" table="`main_multinn`">
<key update="true">
<column name="`main_e_id`" not-null="true" unique="false"/>
</key>
<many-to-many entity-name="MultiNN" unique="false">
<column name="`multinn_e_id`" not-null="true" unique="false"/>
</many-to-many>
</bag>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MultiNNImpl" entity-name="MultiNN" abstract="false" lazy="false" table="`multinn`">
<meta attribute="eclassName">MultiNN</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relationntom</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>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
<bag name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`main_multinn`">
<key update="true">
<column name="`multinn_e_id`" not-null="true" unique="false"/>
</key>
<many-to-many entity-name="Main" unique="false">
<column name="`main_e_id`" not-null="true" unique="false"/>
</many-to-many>
</bag>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MultiNRImpl" entity-name="MultiNR" abstract="false" lazy="false" table="`multinr`">
<meta attribute="eclassName">MultiNR</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relationntom</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>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
<bag name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`main_multinr`">
<key update="true">
<column name="`multinr_e_id`" not-null="true" unique="false"/>
</key>
<many-to-many entity-name="Main" unique="false">
<column name="`main_e_id`" not-null="true" unique="false"/>
</many-to-many>
</bag>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MultiRNImpl" entity-name="MultiRN" abstract="false" lazy="false" table="`multirn`">
<meta attribute="eclassName">MultiRN</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/relation/relationntom</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>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
<property name="name" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`name`"/>
</property>
<bag name="main" lazy="true" cascade="merge,persist,save-update,lock,refresh" table="`main_multirn`">
<key update="true">
<column name="`multirn_e_id`" not-null="true" unique="false"/>
</key>
<many-to-many entity-name="Main" unique="false">
<column name="`main_e_id`" not-null="true" unique="false"/>
</many-to-many>
</bag>
</class>
</hibernate-mapping>
|