blob: 4ee87c3272055dc665ba3f67c83b3291c28ee019 (
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
|
<?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.bz390774.impl.MainImpl" entity-name="Main" abstract="false" lazy="false" discriminator-value="Main" table="`MAIN`">
<meta attribute="eclassName" inherit="false">Main</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz390774</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`DTYPE`" index="MAINDTYPE" 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>
<join table="`SECONDARY`">
<key/>
<many-to-one name="secondary" entity-name="Secondary" lazy="false" cascade="merge,persist,save-update,lock,refresh" foreign-key="MAIN_SECONDARY" insert="true" update="true" not-null="false">
<column not-null="false" unique="false" name="`SECONDARY_JOIN`"/>
</many-to-one>
<property name="test" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`TEST`"/>
</property>
</join>
</class>
<class name="org.eclipse.emf.teneo.samples.issues.bz390774.impl.SecondaryImpl" entity-name="Secondary" abstract="false" lazy="false" discriminator-value="Secondary" table="`SECONDARY`">
<meta attribute="eclassName" inherit="false">Secondary</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/issues/bz390774</meta>
<id type="long" name="e_id" column="e_id" access="org.eclipse.emf.teneo.hibernate.mapping.identifier.IdentifierPropertyHandler">
<meta attribute="syntheticId" inherit="false">true</meta>
<generator class="native"/>
</id>
<discriminator type="string">
<column name="`DTYPE`" index="SECONDARYDTYPE" 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>
|