Annotation Interface OnDelete


@Retention(RUNTIME) @Target(FIELD) public @interface OnDelete
Marks a link to other entity for specific soft deletion behaviour.
Taken into account by persistence when "this" entity is deleted.
See also DeletePolicy
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description