0 Replies Latest reply on Aug 29, 2006 2:29 AM by mglowacki

    integer[] mapping problem

    mglowacki

      Hi

      I've have a table with column with int4[] as data type. I have a problem with setting the type of corresponding entity bean field. I still have a message about not proper datatypes - byte array instead of integer[].

      To be precise, message is:

      java.sql.SQLException: ERROR: column "abc" is of type integer[] but expression is of type bytea

      and my bean's create() method is called with an int[] datatype argument.

      Can anyone help? I'm using postgres 8.0 as db server and jboss as.

      Thanks in advance,
      Michal