title: How to compare timestamp with date without time in JPQL?
body: <p>I'd like to get objects with <code>create_date = :my_date</code> where <code>create_date</code> is in <code>2014-12-02 14:49:15.029</code> format and <code>my_date</code> is in <code>2014-12-02</code> format in JPA.</p>
  
  <p>Is there any way to compare timestamp column with Date object (yyyy-MM-dd format) in JPQL using <code>NamedQuery</code> or should I use native query? </p>