Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5e266893b96e785b86b49cec08d72d00d879bcb1 (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
27
28
29
30
31
32
33
<?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 Mon Jul 09 14:44:32 CEST 2007 -->
<hibernate-mapping>
	<class name="org.eclipse.emf.teneo.samples.issues.update.impl.ChildImpl" entity-name="Child" abstract="false" lazy="false" table="`child`">
		<meta attribute="eclassName">Child</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/update</meta>
		<id name="name" type="java.lang.String">
			<column not-null="true" unique="true" name="`name`"/>
		</id>
		<property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`description`"/>
		</property>
	</class>
	<class name="org.eclipse.emf.teneo.samples.issues.update.impl.ParentImpl" entity-name="Parent" abstract="false" lazy="false" table="`parent`">
		<meta attribute="eclassName">Parent</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/issues/update</meta>
		<id name="name" type="java.lang.String">
			<column not-null="true" unique="true" name="`name`"/>
		</id>
		<property name="description" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`description`"/>
		</property>
		<list name="children" lazy="true" cascade="all,delete-orphan">
			<key update="true">
				<column name="`parent_children_name`" not-null="false" unique="false"/>
			</key>
			<list-index column="`parent_children_idx`"/>
			<one-to-many entity-name="Child"/>
		</list>
	</class>
</hibernate-mapping>

Back to the top