title: How to make criteria with array field in Hibernate
body: <p>I'm using <code>Hibernate</code> and <code>Postgres</code> and defined a <code>character(1)[]</code> column type.</p>
  
  <p>So I don´t know how to make this <code>criteria</code> to find a value in the array.</p>
  
  <p>Like this query </p>
  
  <pre><code>SELECT * FROM cpfbloqueado WHERE bloqueados @&gt; ARRAY['V']::character[]
  </code></pre>