From michel@nertec.com Wed Feb 27 21:51:02 2002 Received: from nertec.com (unknown [205.151.198.59]) by postgresql.org (Postfix) with ESMTP id 8B19B476247 for ; Wed, 27 Feb 2002 16:51:02 -0500 (EST) Received: from NERTECY7WE2981 (g22-61.citenet.net [205.151.198.61]) by nertec.com (8.9.1b+Sun/8.9.1) with SMTP id QAA21517 for ; Wed, 27 Feb 2002 16:50:59 -0500 (EST) Message-ID: <000801c1bfd9$3d458820$6fc809c0@nertec.com> From: "Michel Veillette" To: Subject: ARRAY Date: Wed, 27 Feb 2002 16:53:48 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C1BFAF.53778B90" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Archive-Number: 200203/20 X-Sequence-Number: 3260 This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C1BFAF.53778B90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Does PostgreSQL JDBC Driver support ARRAY? Where can I get code example of accessing ARRAY with PostgreSQL JDBC Driver? Regards, =20 Michel Veillette (Senior Analyst) NERTEC Design Inc. Tel: 450-375-0556 Fax: 450-375-8746 Web: http://www.nertec.com/ ------=_NextPart_000_0005_01C1BFAF.53778B90 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Does Postgr= eSQL JDBC=20 Driver support ARRAY?
Where can I get code example of accessing = ARRAY=20 with PostgreSQL JDBC Driver?
 
Regards,
 
Michel Veillette (Se= nior=20 Analyst)
NERTEC Design Inc.
Tel: 450-375-0556
Fax: 450-375-8746Web:=20 http://www.nertec.com/
------=_NextPart_000_0005_01C1BFAF.53778B90-- From andy.petrella@gmail.com Tue Oct 18 22:45:23 2005 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 65BF4D9A0B for ; Tue, 18 Oct 2005 19:45:23 -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 24798-08 for ; Tue, 18 Oct 2005 22:45:19 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.201]) by svr1.postgresql.org (Postfix) with ESMTP id 3B980D99BF for ; Tue, 18 Oct 2005 19:45:21 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 8so1077328nzo for ; Tue, 18 Oct 2005 15:45:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Tk7SDxTO9RIbeeaFMy7xadjTLsh5fifmxDK/7DElqlp8m5fEnct6I45aXApxe7LbRJ01UDt5s3+Q1wpsOt+LJWYCAC9i2aWeaq0xP2fGkm47YxMZzB+ORMg89NGVP7RRyT1JGq+SlTO2TQgtFyyCqrILdIX+cf+h/zpdAi56EsM= Received: by 10.36.227.19 with SMTP id z19mr4326294nzg; Tue, 18 Oct 2005 15:45:24 -0700 (PDT) Received: by 10.36.227.8 with HTTP; Tue, 18 Oct 2005 15:45:24 -0700 (PDT) Message-ID: <7159e12c0510181545j698f68ch@mail.gmail.com> Date: Wed, 19 Oct 2005 00:45:24 +0200 From: andy petrella To: pgsql-jdbc@postgresql.org Subject: Array ??? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6704_5745033.1129675524353" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.587 required=5 tests=[AWL=-0.431, HTML_60_70=0.027, HTML_MESSAGE=0.001, RCVD_BY_IP=0.024, WEIRD_QUOTING=1.966] X-Spam-Level: * X-Archive-Number: 200510/85 X-Sequence-Number: 14016 ------=_Part_6704_5745033.1129675524353 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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'=E9glise, 17 ] 4450 Slins ] mail: andy.petrella@gmail.com ] ] dea S.I.G. (2005-2006) \**/"""""""\**/"""""""\**/"""""""\**/"""""""\**/ ------=_Part_6704_5745033.1129675524353 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 ?
--
/**\_____/**\_____/**\_____/**\_____/**\
]&n= bsp;            = ;           Signatur= e :
]           &nb= sp;        Andy Petrella
]          &n= bsp;  Rue dessous l'=E9glise, 17
]     &nb= sp;            =     4450 Slins           &nbs= p;            &= nbsp;     
]       mail: andy.petrella@gmail.com
]    &nb= sp;       <licenci=E9 en math, info&g= t;
]           &n= bsp; dea S.I.G. (2005-2006)
\**/""""""&qu= ot;\**/"""""""\**/"""&quo= t;"""\**/"""""""\**/ ------=_Part_6704_5745033.1129675524353-- From pg@fastcrypt.com Wed Oct 19 00:42:00 2005 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--