Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/UserGuide/JPA/2.4/a deleteall"
< EclipseLink | UserGuide | JPA
m (New page: <span class="metaname"> </span> {| class="simple oac_no_warn" width="100%" | align="left" valign="top" | | width="185" align="right" valign="bottom" | {| class="simple oac_no_warn" ...) |
m |
||
Line 1: | Line 1: | ||
+ | {{DISPLAYTITLE:TOC}} | ||
+ | {{EclipseLink_TLJPA | ||
+ | |Please do not edit this page. Your edits will be overwritten during the next update. Instead, please use Bugzilla to log documentation requests. | ||
+ | |info=n | ||
+ | |toc=n | ||
+ | |category=JPA | ||
+ | |release=2.4.x | ||
+ | |title=TLJPA | ||
+ | |older=n}} | ||
<span class="metaname"> </span> | <span class="metaname"> </span> | ||
Revision as of 09:42, 22 June 2012
Java Persistence API (JPA) Extensions Reference for EclipseLink, 2.4.x
|
@DeleteAll
Use @DeleteAll
to indicate that when an relationship is deleted, EclipseLink should use a delete all query. This typically happens if the relationship is PrivateOwned and its owner is deleted. In that case, the members of the relationship will be deleted without reading them in.
Annotation Elements
Table 2-21 describes this annotation's elements.
Table 2-21 @DeleteAll Annotation Elements
Annotation Element | Description | Default |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Usage
Para.
Use this annotation with caution. EclipseLink will not validate whether the target entity is mapped in such a way as to allow the delete all to work. |
Examples
See Also
Para.
|
|
|