title: Mapping array with Hibernate
body: <p>Can you please help me to map this class using Hibernate?</p>
  
  <pre><code>public class MyClass{
      private Long id;
      private String name;
      private int[] values;
      ...
  }
  </code></pre>
  
  <p>I'm using PostgreSQL and the column type in the table is integer[]
  How my array should be mapped?</p>