title: Spring Data JPA "OR" with single parameter
body: <p>Is it possible to have a Spring Data JPA repository method like this:</p>
  
  <pre><code>User findByEmailOrUserName(String usernameOrEmail);
  </code></pre>
  
  <p>The above method name doesn't work as Spring Data JPA throws an exception when it tries to find the second parameter that needs to be bound to second property name in the method.</p>
  
  <p>I want a method name that will translate to <code>select t from User t where t.email = :usernameOrEmail OR t.userName = :usernameOrEmail</code></p>
  
  <p>Does the method name queries have such a possibility?</p>