Package org.hibernate.annotations
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 usingCascadeType
onOneToOne
,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.
-
-
-
Element Detail
-
value
CascadeType[] value
The cascade value.
-
-