title: Spring Data JPA Repositories: Is it possible to give the params a default Value / default all?
body: <p>So, in short terms: Is it possible to set a parameter to "default: All" or more generally to a default specific value in Spring Data JPA (possibly @Query-Annotated) Repository-Methods?</p>
  
  <p>I'm <a href="https://stackoverflow.com/a/25763169/1341599">aware</a> that it's possible in (Rest)controllers to set a default Value, i'm just curious if it's possible to do it at Repository-Level, too. Might be a nice feature I think, for "get me some filtered resultSet where filters might be not set in frontend by a rest-call" is a very common use-case.</p>
  
  <p>Example-Query:</p>
  
  <pre><code>@Query("select new com.my.dto(e.name, e.age, e.address)" +
          " from Entity e" +
          "where e.name like ?1 " +
          "and e.age like ?2  " +
          "and e.street like ?3")
  List&lt;Item&gt; findItemsFiltered(String name, String age, String street);
  </code></pre>
  
  <p>So when let's say street is not set, the Repository should use "%" to return all Results where the other criteria is matching but the street is not relevant.</p>