title: Hibernate batch delete
body: <p>So I retrieved a List of objects directly from my database and wish to delete them. However, from the docs, it looks like I have to construct the entire SQL query in a string, and pass that string to the createQuery method in order to delete. Isn't there a better way to do it?</p>
  
  <pre><code>    List&lt;Foo&gt; confirm = (List&lt;Foo&gt;) criteria.list();
      session.delete(confirm.get(0)); //Works for single object, 
                                      //what about batching?
  </code></pre>