title: Batch deletion for Spring data JPA
body: <p>I have around 20k records to be deleted from Spring data JPA query , query is related to deleting all records before some particular date.</p>
  
  <p>I am using below query</p>
  
  <pre><code>dao.deleteByCreationDateBefore(new Date());
  </code></pre>
  
  <p>I think this query hits database for each row deletion.</p>
  
  <p>Please let me know is there any way I can use batch deletion here?</p>
  
  <p>Regards</p>