Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: bd8c596840977ec991d4b7425153bcb782945ef5 (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
<?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.issues.bz321773.impl.Item1Impl" entity-name="Item1" abstract="false" lazy="false" discriminator-value="Item1" table="`ITEM1`">
		<meta attribute="eclassName" inherit="false">Item1</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321773</meta>
		<id name="id" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`ID`"/>
			<generator class="sequence">
				<param name="sequence">firstSeq</param>
			</generator>
		</id>
		<discriminator type="string">
			<column name="`DTYPE`" index="ITEM1DTYPE" 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="data" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`DATA`"/>
		</property>
	</class>
	<class name="org.eclipse.emf.teneo.samples.issues.bz321773.impl.Item2Impl" entity-name="Item2" abstract="false" lazy="false" discriminator-value="Item2" table="`ITEM2`">
		<meta attribute="eclassName" inherit="false">Item2</meta>
		<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz321773</meta>
		<id name="id" type="long" unsaved-value="0">
			<column not-null="true" unique="false" name="`ID`"/>
			<generator class="seqhilo">
				<param name="sequence">secondSeq</param>
				<param name="max_lo">24</param>
			</generator>
		</id>
		<discriminator type="string">
			<column name="`DTYPE`" index="ITEM2DTYPE" 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="data" lazy="false" insert="true" update="true" not-null="true" unique="false" type="java.lang.String">
			<column not-null="true" unique="false" name="`DATA`"/>
		</property>
	</class>
</hibernate-mapping>

Back to the top