title: Native Query with array in JPA
body: <p>I want to make a query verify value as contained into array in Postgres. I made a nativeQuery in JPA the query apparently is correct and is working in DBeaver(DBM), but not in java application.</p>
  
  <p><a href="https://i.stack.imgur.com/x6dDt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x6dDt.png" alt="Dbeaver query working"></a>,
  <a href="https://i.stack.imgur.com/stVON.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/stVON.png" alt="Application log"></a></p>
  
  <pre><code>    ERROR: operator does not exist: integer[] @&gt; character varying
      TIP: No operator matches the name and type of the argument. You need to add explicit type conversions.
  </code></pre>