title: Query entity elements by createdAt on specific date range does not work
body: <p>My entity has createdAt field which is filled by <code>@CreatedDate</code> when the entity is created. This property is of <code>Date</code> type. </p>
  
  <pre><code>class MyEntity {
      @CreatedDate
      private Date createdAt;
  }
  </code></pre>
  
  <p>I would like to filter out all entities in a <code>List</code> that are in a range from startDate to endDate. The problem is that when I used <code>findAllByCreatedAtBetween(Date startDate, Date endDate);</code> it worked but not for all cases. When the entity is created i.e.: 2019-10-25 14:15:23 I would like to get it also when the user will type as <code>@RequestParam</code> startDate from 2019-10-24 00:00 endDate to 2019-10-25 14:15 and also take this entity. How could I ignore everything that is behind minutes? Is there a way, because when I pass those values as startDate and endDate the entity isn't found, to find it I have to change 14:15 to 14:16.</p>