Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ddc84c32ea2aed3f3e489466c2d39a1bde0449df (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
<?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" 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>
		<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" 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>
		<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" 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>
		<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" 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>
		<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" 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>
		<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" 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>
		<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" 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>
		<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" 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>
		<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