Re: Array ??? - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Array ???
Date
Msg-id 3CD7D462-5E99-4155-9A17-6C20EC425F99@fastcrypt.com
Whole thread Raw
In response to Array ???  (andy petrella <andy.petrella@gmail.com>)
List pgsql-jdbc
andy,

You have to implement the array interface on the object you want to store, check the archives for an array implementation

Dave
On 18-Oct-05, at 6:45 PM, andy petrella wrote:

hi,
I have some array type used in my pg table, those are only string array... but how can i set an array with the jdbc in java ? Something with org.postgresql.jdbc3.Jdbc3Array ? If yes, how to ?

P-L-E-A-S-E

thx all


P.S.    [PreparedStaement].setArray(8, new org.postgresql.jdbc3.Jdbc3Array(...)); //parameters ? wich resultset is the latter one ?
--
/**\_____/**\_____/**\_____/**\_____/**\
]                        Signature :
]                    Andy Petrella
]             Rue dessous l'église, 17
]                      4450 Slins                              
]       mail: andy.petrella@gmail.com
]            <licencié en math, info>
]             dea S.I.G. (2005-2006)
\**/"""""""\**/"""""""\**/"""""""\**/"""""""\**/



Dave Cramer
www.postgresintl.com
ICQ #14675561
ph (519 939 0336 )

pgsql-jdbc by date:

Previous
From: andy petrella
Date:
Subject: Array ???
Next
From: "Kevin Grittner"
Date:
Subject: Re: How to bulk load a schema using JDBC multiple