24.2.8. @Cascade

The @Cascade annotation is used to apply the Hibernate specific CascadeType strategies (e.g. CascadeType.LOCK, CascadeType.SAVE_UPDATE, CascadeType.REPLICATE) on a given association.

</div>

For JPA cascading, prefer using the javax.persistence.CascadeType instead.

</div>

When combining both JPA and Hibernate CascadeType strategies, Hibernate will merge both sets of cascades.

</div> </div>

results matching ""

    No results matching ""