ManyToMany.cascade - JPA annotation element

Annotation Element
javax.persistence.ManyToMany
CascadeType[] cascade

(Optional) The operations that must be cascaded to the target of the association.

When the target collection is a java.util.Map, the cascade element applies to the map value.

Defaults to no operations being cascaded.

Default value:
{}
Since:
JPA 1.0