How to Delete Child Records in OneToMany Relationship From Database in JPA?
Can Hibernate automatically delete the child entity if I remove its association to the parent? Let’s find out
Published in
3 min readSep 21, 2021
When we model the database, we most likely define several many-to-one or one-to-many associations. And it’s, of course, the same when we model the entities.