Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 1154d08dbc16c8417177ea5a6317b021f1eefbe5 (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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?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" discriminator-value="IdentityID" table="`IDENTITYID`">
		<meta attribute="eclassName" inherit="false">IdentityID</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
		<id name="myid" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`MYID`"/>
			<generator class="identity"/>
		</id>
		<discriminator type="string">
			<column name="`DTYPE`" index="IDENTITYIDDTYPE" length="255" not-null="true"/>
		</discriminator>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
	</class>
	<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SimpleIDImpl" entity-name="SimpleID" abstract="false" lazy="false" discriminator-value="SimpleID" table="`SIMPLEID`">
		<meta attribute="eclassName" inherit="false">SimpleID</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
		<id name="autoID" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`AUTOD`"/>
			<generator class="native"/>
		</id>
		<discriminator type="string">
			<column name="`DTYPE`" index="SIMPLEIDDTYPE" length="255" not-null="true"/>
		</discriminator>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
	</class>
	<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableIDImpl" entity-name="TableID" abstract="false" lazy="false" discriminator-value="TableID" table="`TABLEID`">
		<meta attribute="eclassName" inherit="false">TableID</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
		<id name="myid" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`MYID`"/>
			<generator class="hilo">
				<param name="table">uid_table</param>
				<param name="column">next_hi_value_column</param>
			</generator>
		</id>
		<discriminator type="string">
			<column name="`DTYPE`" index="TABLEIDDTYPE" length="255" not-null="true"/>
		</discriminator>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
	</class>
	<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.TableGeneratorIDImpl" entity-name="TableGeneratorID" abstract="false" lazy="false" discriminator-value="TableGeneratorID" table="`TABLEGENERATORID`">
		<meta attribute="eclassName" inherit="false">TableGeneratorID</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
		<id name="myid" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`MYID`"/>
			<generator class="hilo">
				<param name="table">TGEN</param>
				<param name="column">VAL_COL</param>
				<param name="max_lo">49</param>
			</generator>
		</id>
		<discriminator type="string">
			<column name="`DTYPE`" index="TABLEGENERATORIDDTYPE" length="255" not-null="true"/>
		</discriminator>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
	</class>
	<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.AutoIDImpl" entity-name="AutoID" abstract="false" lazy="false" discriminator-value="AutoID" table="`AUTOID`">
		<meta attribute="eclassName" inherit="false">AutoID</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
		<id name="autoID" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`AUTOID`"/>
			<generator class="native"/>
		</id>
		<discriminator type="string">
			<column name="`DTYPE`" index="AUTOIDDTYPE" length="255" not-null="true"/>
		</discriminator>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">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" discriminator-value="OtherTableGeneratorID" table="`OTHERTABLEGENERATORID`">
		<meta attribute="eclassName" inherit="false">OtherTableGeneratorID</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
		<id name="myid" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`MYID`"/>
			<generator class="hilo">
				<param name="table">OTHERTGEN</param>
				<param name="column">VAL_COL</param>
				<param name="max_lo">49</param>
			</generator>
		</id>
		<discriminator type="string">
			<column name="`DTYPE`" index="OTHERTABLEGENERATORIDDTYPE" length="255" not-null="true"/>
		</discriminator>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
	</class>
	<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SequenceIDImpl" entity-name="SequenceID" abstract="false" lazy="false" discriminator-value="SequenceID" table="`SEQUENCEID`">
		<meta attribute="eclassName" inherit="false">SequenceID</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
		<id name="myid" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`MYID`"/>
			<generator class="seqhilo">
				<param name="sequence">mySequenceName</param>
				<param name="max_lo">99</param>
			</generator>
		</id>
		<discriminator type="string">
			<column name="`DTYPE`" index="SEQUENCEIDDTYPE" length="255" not-null="true"/>
		</discriminator>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
	</class>
	<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.SequenceStyleIDImpl" entity-name="SequenceStyleID" abstract="false" lazy="false" discriminator-value="SequenceStyleID" table="`SEQUENCESTYLEID`">
		<meta attribute="eclassName" inherit="false">SequenceStyleID</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/id</meta>
		<id name="myid" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`MYID`"/>
			<generator class="org.hibernate.id.enhanced.SequenceStyleGenerator">
				<param name="sequence_name">myOtherSequenceName</param>
				<param name="initial_value">5</param>
				<param name="increment_size">25</param>
			</generator>
		</id>
		<discriminator type="string">
			<column name="`DTYPE`" index="SEQUENCESTYLEIDDTYPE" length="255" not-null="true"/>
		</discriminator>
		<version name="e_version" column="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
			<meta attribute="syntheticVersion" inherit="false">true</meta>
		</version>
	</class>
</hibernate-mapping>

Back to the top