title: LIKE Query in JPA using List of String - Spring
body: <p>Have used containing method in repository for %LIKE% SQL equal in JPA, as below,</p>
  <pre><code>Page&lt;Obj&gt; findByNameContaining(String name, Pageable pageable);
  </code></pre>
  <p>which will work like below,</p>
  <pre><code>select * from Obj where name like '%John%';
  </code></pre>
  <p>But how do i pass the <code>List&lt;String&gt;</code> names which would query like below using JPA,</p>
  <pre><code>select * from Obj where name like '%John%' or name like '%Jiva%' or name like 'etc' .....;
  </code></pre>
  <p>Is there any Spring JPA way for this? i also checked Specification classes too, is that the only way of doing this or am i missing any easy ways or any other dynamic query is recommended?</p>