X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E488ED7E2C for ; Tue, 18 Oct 2005 21:42:00 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 43219-03 for ; Wed, 19 Oct 2005 00:41:55 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 434AFD6EB7 for ; Tue, 18 Oct 2005 21:41:57 -0300 (ADT) Received: (qmail 10940 invoked from network); 19 Oct 2005 00:42:01 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 19 Oct 2005 00:42:01 -0000 In-Reply-To: <7159e12c0510181545j698f68ch@mail.gmail.com> References: <7159e12c0510181545j698f68ch@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: multipart/alternative; boundary=Apple-Mail-17-1051463887 Message-Id: <3CD7D462-5E99-4155-9A17-6C20EC425F99@fastcrypt.com> Cc: pgsql-jdbc@postgresql.org From: Dave Cramer Subject: Re: Array ??? Date: Tue, 18 Oct 2005 20:41:59 -0400 To: andy petrella X-Mailer: Apple Mail (2.734) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.046 required=5 tests=[AWL=-1.007, HTML_40_50=0.086, HTML_MESSAGE=0.001, WEIRD_QUOTING=1.966] X-Spam-Level: * X-Archive-Number: 200510/86 X-Sequence-Number: 14017 --Apple-Mail-17-1051463887 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed andy, You have to implement the array interface on the object you want to =20 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 =20 > array... but how can i set an array with the jdbc in java ? =20 > Something with org.postgresql.jdbc3.Jdbc3Array ? If yes, how to ? > > P-L-E-A-S-E > > thx all > > > P.S. [PreparedStaement].setArray(8, new =20 > org.postgresql.jdbc3.Jdbc3Array(...)); //parameters ? wich =20 > resultset is the latter one ? > --=20 > /**\_____/**\_____/**\_____/**\_____/**\ > ] Signature : > ] Andy Petrella > ] Rue dessous l'=E9glise, 17 > ] 4450 Slins > ] mail: andy.petrella@gmail.com > ] > ] dea S.I.G. (2005-2006) > \**/"""""""\**/"""""""\**/"""""""\**/"""""""\**/ Dave Cramer davec@postgresintl.com www.postgresintl.com ICQ #14675561 jabber davecramer@jabber.org ph (519 939 0336 ) --Apple-Mail-17-1051463887 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 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.=A0=A0=A0 = [PreparedStaement].setArray(8, new = org.postgresql.jdbc3.Jdbc3Array(...)); //parameters ? wich resultset is = the latter one ?
--
= /**\_____/**\_____/**\_____/**\_____/**\
]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0Signature = :
]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0Andy = Petrella
]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Rue dessous l'=E9glise, = 17
]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A04= 450 Slins=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0
]=A0=A0=A0=A0=A0=A0 mail: andy.petrella@gmail.com
]=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0<licenci=E9 en math, = info>
]=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 dea S.I.G. = (2005-2006)
= \**/"""""""\**/"""""""\**/"""""""\**/"""""""\**/



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

= --Apple-Mail-17-1051463887--