title: Using hibernate/hql to truncate a table?
body: <p>What is the recommended way to truncate a table using hibernate/hql?</p>
  
  <p>I've tried this:</p>
  
  <pre>
   Query query = session.createQuery("truncate table MyTable");
   query.executeUpdate();
  </pre>
  
  <p>But it didn't work (truncate doesn't seem do be documented anywhere in hql...)</p>