Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EclipseLink/UserGuide/JPA/2.4/a deleteall
< EclipseLink | UserGuide | JPA
Revision as of 09:42, 22 June 2012 by Rick.sapir.oracle.com (Talk | contribs)
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.
|
|
|