EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.annotations
Annotation Type DeleteAll


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface DeleteAll

A DeleteAll annotation is specified to indicate that when an relationship is deleted, it 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. Use this annotation with caution. EclipseLink will not validate for you whether the target entity is mapped in such a way as to allow the delete all to work.


EclipseLink 2.4.2, build 'v20130514-5956486' API Reference