Use your own strategy:

@PersistentCollection
@Strategy("gaia.cu7.om.dal.dictionary.PostgresArrayHandler")
private double[] timeDecay;

Example for float8[] below, change toDataStoreValue to deal with
Long/bigint.
PostgresArrayHandler.java
<http://openjpa.208410.n2.nabble.com/file/n7581766/PostgresArrayHandler.java>  

Cheers



--
View this message in context: 
http://openjpa.208410.n2.nabble.com/how-to-deal-with-jdbc4-sql-array-tp7581756p7581766.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to