logo

Spring web app tutorial 31: JPA / Hibernate cascade

How to cascade operations in JPA / Hibernate? Presented on cascade type remove. This will solve ConstraintViolationException.

How to cascade operations in JPA / Hibernate? Presented on cascade type remove. This will solve ConstraintViolationException, which we'll get, when we try to remove some entity without removing all entities, which use it, first.


comments powered by Disqus

rss

Free online Java web application examples

Want to develop whole web applications which use database, security and more? See my github account, where are lot's of example projects:
github

Search