title: Spring data rest, java.util.Date in url param?
body: <p>I have a simple POJO named as <code>Check</code>. And I have a simple rest repository:</p>
  
  <pre><code>@RepositoryRestResource(collectionResourceRel = "check",path = "check")
  public interface RestCheckRepo
          extends JpaRepository&lt;Check,Integer&gt; {
  
      public List&lt;Check&gt; findByShopName(@Param("shop") String shop);
  
      public List&lt;Check&gt; findByDateTime(@Param("dt")Date dt);
  
      public List&lt;Check&gt; findByShopNameAndDateTime(@Param("shop")String shop, @Param("dt")Date dt);
  
      public List&lt;Check&gt; findByShopNameAndDateTimeBetween(@Param("shopName") String shop,
                                                          @Param("start")Date t1,
                                                          @Param("end") Date t2);
  
  
  }
  </code></pre>
  
  <p>All works fine!! But I don't know how to implement a request handler using <code>java.util.Date</code> as a <code>@RequestParam</code>.
  Example: <a href="http://localhost:8080/check/search/findByDateTime?dt=" rel="nofollow">http://localhost:8080/check/search/findByDateTime?dt=</a>{value}</p>
  
  <p><strong>UPDATE</strong>
  Request
  <a href="http://localhost:8080/check/search/findByDateTime?dt=2015-08-10T13:47:30" rel="nofollow">http://localhost:8080/check/search/findByDateTime?dt=2015-08-10T13:47:30</a>
  ---> Response:</p>
  
  <pre><code>{
      "cause": {
          "cause":null,
          "message":null
      },
      "message":"Failed to convert from type java.lang.String to type @org.springframework.data.repository.query.Param java.util.Date for value '2015-10-07T15:04:46Z'; nested exception is java.lang.IllegalArgumentException"
  }
  </code></pre>