title: Ordinal Parameter Not bound : 2 in @Query annotation
body: <p>I am getting following error when I try to run this query.</p>
  
  <blockquote>
    <p>org.hibernate.QueryException: Ordinal parameter not bound : 2",</p>
  </blockquote>
  
  <pre><code>@Query(value = "SELECT amu " +
                     "FROM Upgrade amu " +
                      "INNER JOIN FETCH amu.visibility v " +
                     " WHERE v IN ?2 " +
                      "AND amu.id= '?1' "         
     )
  Optional&lt;Upgrade&gt; myFindMethod(final String uid, final String cid);
  </code></pre>
  
  <p>If I change  <code>" WHERE v IN ?2 "</code> with   <code>" WHERE v IN ?2 OR v IN ?1 "</code>, then it works. I have no idea why it does not work. Any idea?</p>
  
  <p>Note: Visibility is type of <code>Set&lt;String&gt;</code> in the Upgrade class.</p>