hi,
i try to map array of integers column from my postgresql 8.3 database to ejb 3.0 entity bean field. In EJB 2.1 I simply declared that column as java.sql.Array and worked fine. However, it's not working this way in 3.0. I tried using @Lob annotation, changing types from Integer[] to int[], to Serializable and so on... Nothing works, all the time when trying to insert via bean I got this error:
column "my_column_ is of type integer[] but expression is of type bytea (or bigint)
Then I tried with java.sql.Array, but hibernate says it can't determine column type for java.sql.Array...
I also can't find any help over internet...
|