OneToMany.cascade - JPA annotation element
Annotation Element javax.persistence.OneToMany
CascadeType[] cascade
(Optional) The operations that must be cascaded to the target of the association.
Defaults to no operations being cascaded.
When the target collection is a java.util.Map
, the cascade
element applies to the map value.
- Default value:
- {}
- Since:
- JPA 1.0