title: Usage of ? in native SQL query on jsonb
body: <p>I need to fire a select query against Postgres <code>jsonb</code> column:</p>
  <pre><code>entityManager.createNativeQuery(
   &quot;select * from table where jsonbcol -&gt; 'usernames' ? :un&quot;
  ).setParameter(&quot;un&quot;, userName).getResultList()
  </code></pre>
  <p>Upon running the Exception is thrown:</p>
  <pre><code>org.hibernate.engine.query.ParameterRecognitionException: Mixed parameter strategies - 
  use just one of named, positional or JPA-ordinal strategy
  </code></pre>
  <p>I tried escaping like <code>\\?</code> and <code>??</code> but that didn't help.</p>
  <p>How to do that call properly?</p>