Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: de19efa4d34f1cb07f9a0f8c3f95f22c93dd8417 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">

<jdo>
	<package name="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl">
		<class name="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl.ChildItemImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="childitem" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.ChildItem"/>
			<implements name="org.eclipse.emf.ecore.EObject"/>
			<implements name="org.eclipse.emf.common.notify.Notifier"/>
			<inheritance strategy="new-table">
				<discriminator column="dtype" strategy="value-map" value="ChildItem"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="name" persistence-modifier="persistent" null-value="exception"/>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl.ItemImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="item" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.Item"/>
			<implements name="org.eclipse.emf.ecore.EObject"/>
			<implements name="org.eclipse.emf.common.notify.Notifier"/>
			<inheritance strategy="new-table">
				<discriminator column="dtype" strategy="value-map" value="Item"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="name" persistence-modifier="persistent" null-value="exception"/>
			<field name="childItem" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl.ChildItemImpl" dependent-element="true">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<element>
					<column name="item_childitem_e_id" allows-null="true"/>
				</element>
				<order column="ITEM_CHILDITEM_IDX"/>
				<foreign-key delete-action="cascade" update-action="cascade" name="item_childitem"/>
			</field>
		</class>
	</package>
</jdo>

Back to the top