注释类型 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.
    作者:
    Emmanuel Bernard, Steve Ebersole
    • 必需元素概要

      所需元素 
      修饰符和类型 必需的元素 说明
      CascadeType[] value
      The cascade value.
    • 元素详细资料