Annotation Type Cascade


  • @Target({METHOD,FIELD})
    @Retention(RUNTIME)
    public @interface Cascade
    Apply a cascade strategy on an association. Used to apply Hibernate specific cascades. For JPA cascading, prefer using CascadeType on OneToOne, OneToMany, etc. Hibernate will merge together both sets of cascades.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      CascadeType[] value
      The cascade value.