blob: 467ec64f6faf77c7f02bf8a9177e09220f6cde09 (
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
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
|
<?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.teneo.samples.emf.annotations.id.impl.IdentityIDImpl" entity-name="IdentityID" abstract="false" lazy="false" table="`identityid`">
<meta attribute="eclassName">IdentityID</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
<id name="myid" type="long" unsaved-value="0">
<column not-null="true" unique="true" name="`myid`"/>
<generator class="identity"/>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" table="`simpleid`">
<meta attribute="eclassName">SimpleID</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
<id name="autoID" type="long" unsaved-value="0">
<column not-null="true" unique="true" name="`autod`"/>
<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>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" table="`tableid`">
<meta attribute="eclassName">TableID</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
<id name="myid" type="long" unsaved-value="0">
<column not-null="true" unique="true" name="`myid`"/>
<generator class="hilo">
<param name="table">uid_table</param>
<param name="column">next_hi_value_column</param>
</generator>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl" entity-name="TableGeneratorID" abstract="false" lazy="false" table="`tablegeneratorid`">
<meta attribute="eclassName">TableGeneratorID</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
<id name="myid" type="long" unsaved-value="0">
<column not-null="true" unique="true" name="`myid`"/>
<generator class="hilo">
<param name="table">TGEN</param>
<param name="column">VAL_COL</param>
<param name="max_lo">49</param>
</generator>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl" entity-name="AutoID" abstract="false" lazy="false" table="`autoid`">
<meta attribute="eclassName">AutoID</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
<id name="autoID" type="long" unsaved-value="0">
<column not-null="true" unique="true" name="`autoid`"/>
<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>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.OtherTableGeneratorIDImpl" entity-name="OtherTableGeneratorID" abstract="false" lazy="false" table="`othertablegeneratorid`">
<meta attribute="eclassName">OtherTableGeneratorID</meta>
<meta attribute="epackage">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
<id name="myid" type="long" unsaved-value="0">
<column not-null="true" unique="true" name="`myid`"/>
<generator class="hilo">
<param name="table">OTHERTGEN</param>
<param name="column">VAL_COL</param>
<param name="max_lo">49</param>
</generator>
</id>
<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion">true</meta>
</version>
</class>
</hibernate-mapping>
|