From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | andy petrella <andy(dot)petrella(at)gmail(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Array ??? |
Date: | 2005-10-19 00:41:59 |
Message-ID: | 3CD7D462-5E99-4155-9A17-6C20EC425F99@fastcrypt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)petrella(at)gmail(dot)com
> ] <licencié en math, info>
> ] dea S.I.G. (2005-2006)
> \**/"""""""\**/"""""""\**/"""""""\**/"""""""\**/
Dave Cramer
davec(at)postgresintl(dot)com
www.postgresintl.com
ICQ #14675561
jabber davecramer(at)jabber(dot)org
ph (519 939 0336 )
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2005-10-19 15:42:59 | Re: How to bulk load a schema using JDBC multiple |
Previous Message | Andres Olarte | 2005-10-18 23:42:57 | Re: newbie jdbc3 tiny example |