title: What is the best way to bulk delete rows in JPA while also cascading the delete to child records
body: <p>I'm trying to do bulk delete in my entities, and the best solution will be to go with <code>CriteriaDelete</code>. But <code>CriteriaDelete</code> does not cascade (at least not for me).</p>
  <p>So, it seems like the only solution which I have is to do select first and delete each element separately. Which does not seems wrong to me.</p>
  <p>Is anyone have a better idea of how to do bulk delete? Is it actually a better way?</p>
  <p>If it helps I'm using EclipseLink 2.5.2.</p>