title: Spring Data Querying DateTime with only Date
body: <p>I have this Data Model</p>
  
  <pre><code>public class CustomerModel{
  
    @Column
    @Type(type="org.joda.time.contrib.hibernate.PersistentDateTime")
    private DateTime membershipDate;
    //Other properties and getters
  }
  </code></pre>
  
  <p>And the following repo</p>
  
  <pre><code>public interface CustomerRepo  extends Repository&lt;CustomerModel, Long&gt;{}
  </code></pre>
  
  <p>What I want to do is. Retrieve all users  on a given date eg(Members that Joined in August 1 2013) however the problem is that on my DB the membershipDate has a time with it. how can I ignore the time and retrieve all users on a given date? </p>