title: Compare only date component in HQL
body: <p>I need to select some entities using HQL filtering by time. But I need to compare only date component without time. For example 1.1.2011 12.00 and 1.1.2011 13.20 must be equal.</p>
  
  <p>What operator can I use?</p>
  
  <pre><code>@Query("FROM Item item " +
    "WHERE item.date [equality by date operator] :date " )
  List&lt;Item&gt; findByDate(@Param("date") Date date);
  </code></pre>