remove « DAO « JPA Q&A





1. Remove entity and relations the correct way (JPA)    stackoverflow.com

I have an entity Task and a dao for it: TaskDao. A Task entity has a ManyToOne mapping to Category. When I delete a Task, I also need to remove the ...