title: Return value of JPA query when no matches found
body: <p>I'm using <code>Spring JPA named querys</code> in my repository. My problem is, that I can't find anywhere information what would be returned value for a query that wouldn't match any results. I assume it'll be null for <code>findOne()</code> but I have no idea what would it be for <code>findAllByName()</code> function.</p>
  
  <p>Does anyone know from his/her experience or know a place in documentation?</p>