Hi,

I am using openjpa 2.2 with postgresql 9.0, there is a field as a
bigint[]. I can not declare as following:


    @Column(name = "target_id")
    protected long[] targetId;

I searched whole day but did not find any useful information about it.
In openjpa jira, there is a ticket that provided a possible solution,
https://issues.apache.org/jira/browse/OPENJPA-1687, but it failed to
me, openjpa says "targetId isn't supported by declared persistence
strategy "Basic".  Please choose a different strategy". I have no idea
about this message.

And also I analyzed the openjap's source, I saw some sources that
seems related to Sql Array, but I can not find any more.

So, please, can anyone tell me whether it is possible to deal with
jdbc4 sql array and how? Or it is impossible?

Best Regards
yours xzer

Reply via email to