title: How to implement mysql date_sub() function in Hibernate 3.0
body: <p>Is it possible in hiberanate to write query like this?</p>
  <pre><code>SELECT * FROM `tablename` where created_at&gt; DATE_SUB(curdate(),INTERVAL 7 DAY) 
  </code></pre>