Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'doc/org.eclipse.emf.teneo.doc/tutorials/jpox/ejb3_features.html')
-rw-r--r--doc/org.eclipse.emf.teneo.doc/tutorials/jpox/ejb3_features.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/org.eclipse.emf.teneo.doc/tutorials/jpox/ejb3_features.html b/doc/org.eclipse.emf.teneo.doc/tutorials/jpox/ejb3_features.html
index 164e56024..a21ff62c3 100644
--- a/doc/org.eclipse.emf.teneo.doc/tutorials/jpox/ejb3_features.html
+++ b/doc/org.eclipse.emf.teneo.doc/tutorials/jpox/ejb3_features.html
@@ -243,6 +243,12 @@
<li>
<a href="#edatatype">Annotations on EDataType</a>
</li>
+<li>
+<a href="#EMF+ID+Attribute">EMF ID Attribute</a>
+</li>
+<li>
+<a href="#Extra+CASCADE+type%3A+NONE">Extra CASCADE type: NONE</a>
+</li>
</ul>
</li>
</ul>
@@ -374,6 +380,22 @@
each EAttribute which uses this EDataType. The annotations on EAttribute level take precedence so if both the EAttribute
and the EDataType have the same annotation then the annotation on the EAttribute is used.</p>
</div>
+
+<a name="N100B5"></a><a name="EMF+ID+Attribute"></a>
+<div class="h4">
+<h4>EMF ID Attribute</h4>
+<p>When an eattribute has its ID property set to true and there is no @Id annotated eattribute in the
+ eclass then the ID eattribute is used. This default behavior can be changed using the option:
+ ID_FEATURE_AS_PRIMARY_KEY.</p>
+</div>
+
+<a name="N100BE"></a><a name="Extra+CASCADE+type%3A+NONE"></a>
+<div class="h4">
+<h4>Extra CASCADE type: NONE</h4>
+<p>Teneo will automatically set the cascade annotation when no cascade annotation has been set on an
+ assocation. To also support no-cascading behavior the additional CascadeType NONE is supported by
+ Teneo.</p>
+</div>
</div>

Back to the top