title: Spring JPA findBy mehod returns duplicate values
body: <p>I'm using Spring JPA for Mysql in my application and I have method like below in repository.</p>
  
  <p>I'm getting duplicate values, 2 times in the list.</p>
  
  <pre><code>public interface repository  extends JpaRepository&lt;User, Long&gt; {
   List&lt;User&gt; findByUserId(String userId)
  }
  </code></pre>