Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a95ca4cb1619289e24e4aeefdc866070406c3472 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?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 Nov 13 20:18:51 CET 2006 -->
<hibernate-mapping>
	<class entity-name="A" abstract="false" lazy="false" table="`a`">
		<meta attribute="eclassName">A</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/attributes</meta>
		<id name="id" type="java.lang.String">
			<column not-null="true" unique="false" name="`id`"/>
		</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" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false">
			<column not-null="false" unique="false" name="`name`"/>
		</property>
		<property name="b" type="long" lazy="false" insert="true" update="true" not-null="false" unique="false">
			<column not-null="false" unique="false" name="`b`"/>
		</property>
		<property name="c" type="java.lang.String" lazy="false" insert="true" update="true" not-null="false" unique="false">
			<column not-null="false" unique="false" name="`c`"/>
		</property>
		<property name="comment" type="double" lazy="false" insert="true" update="true" not-null="false" unique="false">
			<column not-null="false" unique="false" name="`comment`"/>
		</property>
		<property name="d" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
			<column not-null="true" unique="false" name="`d`"/>
		</property>
		<many-to-one name="myR" entity-name="R" cascade="merge,persist,save-update,lock,refresh" lazy="false" insert="true" update="true" not-null="false">
			<column not-null="false" unique="false" name="`r_myr_id`"/>
		</many-to-one>
	</class>
	<class entity-name="R" abstract="false" lazy="false" table="`r`">
		<meta attribute="eclassName">R</meta>
		<meta attribute="epackage">http://www.eclipse.org/emf/teneo/store/test/emf/schemaconstructs/attributes</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" type="java.lang.String" lazy="false" insert="true" update="true" not-null="true" unique="false">
			<column not-null="true" unique="false" name="`name`"/>
		</property>
	</class>
</hibernate-mapping>

Back to the top