blob: 6faacbe4e9344be5bd6d6d43246712c8ae46af15 (
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
|
<?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.any.impl.AnyObjectImpl" entity-name="AnyObject" abstract="false" lazy="false" table="`ANYOBJECT`">
<meta attribute="eclassName" inherit="false">AnyObject</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta>
<id name="id" type="java.lang.String">
<column not-null="true" unique="false" name="`ID`"/>
</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="globalInt" lazy="false" insert="true" update="true" not-null="false" unique="false" type="int">
<column not-null="false" unique="false" name="`GLOBALINT`"/>
</property>
<property name="globalString" lazy="false" insert="true" update="true" not-null="false" unique="false" type="java.lang.String">
<column not-null="false" unique="false" name="`GLOBALSTRING`"/>
</property>
<any id-type="string" meta-type="string" name="anyOne" cascade="all">
<column not-null="false" unique="false" name="`ANY_TYPE`"/>
<column not-null="false" unique="false" name="`ANYONE_ID`"/>
</any>
<list name="any" table="`ANYOBJECT_ANY`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`ANYOBJECT_ANY_ID`" unique="false"/>
</key>
<list-index column="`ANYOBJECT_ANY_IDX`"/>
<one-to-many entity-name="AnyObject_any"/>
</list>
<list name="group" table="`ANYOBJECT_GROUP`" lazy="true" cascade="all,delete-orphan">
<key update="true">
<column name="`ANYOBJECT_GROUP_ID`" unique="false"/>
</key>
<list-index column="`ANYOBJECT_GROUP_IDX`"/>
<one-to-many entity-name="AnyObject_group"/>
</list>
</class>
<class entity-name="AnyObject_any" lazy="false" table="`ANYOBJECT_ANY`">
<meta attribute="featureMap" inherit="false">AnyObject</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="any_fme_any_data" type="java.lang.String"/>
<any id-type="string" meta-type="string" name="any_fme_any_reference" cascade="all">
<column not-null="false" unique="false" name="`ANY_TYPE`"/>
<column not-null="false" unique="false" name="`ANY_ID`"/>
</any>
</class>
<class entity-name="AnyObject_group" lazy="false" table="`ANYOBJECT_GROUP`">
<meta attribute="featureMap" inherit="false">AnyObject</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<many-to-one name="any1" entity-name="AnyObject_any1" cascade="all" not-null="false"/>
</class>
<class entity-name="AnyObject_any1" lazy="false" table="`ANYOBJECT_ANY1`">
<meta attribute="featureMap" inherit="false">AnyObject</meta>
<id type="long">
<generator class="native"/>
</id>
<version name="e_version" access="org.eclipse.emf.teneo.hibernate.mapping.property.VersionPropertyHandler">
<meta attribute="syntheticVersion" inherit="false">true</meta>
</version>
<property name="fme_feature" type="java.lang.String"/>
<property name="any1_fme_any_data" type="java.lang.String"/>
<any id-type="string" meta-type="string" name="any1_fme_any_reference" cascade="all">
<column not-null="false" unique="false" name="`ANY_TYPE`"/>
<column not-null="false" unique="false" name="`ANY1_ID`"/>
</any>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.any.impl.GlobalObjectTypeImpl" entity-name="GlobalObjectType" abstract="false" lazy="false" table="`GLOBALOBJECTTYPE`">
<meta attribute="eclassName" inherit="false">GlobalObjectType</meta>
<meta attribute="epackage" inherit="false">http://www.eclipse.org/emf/teneo/samples/emf/annotations/any</meta>
<id name="id" type="java.lang.String">
<column not-null="true" unique="false" name="`ID`"/>
</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="true" unique="false" type="java.lang.String">
<column not-null="true" unique="false" name="`NAME`"/>
</property>
</class>
</hibernate-mapping>
|