yes, I declared my own strategy, I thought it should be available but openjpa still gives a message as what I mentioned.
Now I declared my column as: @Column(name="target_id") @Lob @Strategy("xx.xx.pgArrayHandler") private long[] _targetId public long[] getTargetId(){...} public void setTargetId(...){...} it works well, but if I replace the @Lob to @PersistentCollection, I will get the message as "xx.xx.xx._targetId isn't supported by declared persistence strategy "Basic". Please choose a different strategy." I also think it is strange, but I have no idea about why. On 2012/11/16 19:10, Krzysztof wrote:
Did you use the amended Strategy as well? This should replace @Basic strategy used by default otherwise.. -- View this message in context: http://openjpa.208410.n2.nabble.com/how-to-deal-with-jdbc4-sql-array-tp7581756p7581792.html Sent from the OpenJPA Users mailing list archive at Nabble.com.