1 Reply Latest reply on Jul 10, 2006 9:45 AM by kukeltje

    How to use arrays for columns with hibernate

    infovaibhav

      Hello,

      I am using postgresql database. I am using ineger array ( int [] ) as a datatype for one column. Here is the schema for table.

      CREATE TABLE sal_emp (
      name text,
      pay_by_quarter integer[],
      );

      My problem is how we can make use of arrays in Hibernate? How mapping file will look like ?

      Thanks,
      Vaibhav...