Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id C24C92E0141 for ; Fri, 30 Nov 2007 12:40:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 06953-08 for ; Fri, 30 Nov 2007 12:40:24 -0400 (AST) Received: from ebox1b.ebox.com (ebox1.ebox.com [64.7.141.6]) by postgresql.org (Postfix) with ESMTP id 317E82E0144 for ; Fri, 30 Nov 2007 12:40:23 -0400 (AST) Received: from [192.168.54.162] (missdsl.ebox.com [64.7.143.119]) by ebox1b.ebox.com (Postfix) with ESMTP id 6720F17E10C; Fri, 30 Nov 2007 11:40:21 -0500 (EST) From: Dave Cramer To: Christian Kindler In-Reply-To: <20071130140744.141200@gmx.net> Subject: Re: prepared statement using postgres array X-Priority: 3 References: <20071130140744.141200@gmx.net> Message-Id: <77FD84BA-A86E-4037-9735-115CF1A077B4@fastcrypt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 30 Nov 2007 11:40:14 -0500 Cc: pgsql-jdbc@postgresql.org X-Mailer: Apple Mail (2.915) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/99 X-Sequence-Number: 17854 Christian, Look through our test code, essentially you have to implement the =20 java.sql.Array interface on an object which contains an array of =20 floats and pass that in. Dave On 30-Nov-07, at 9:07 AM, Christian Kindler wrote: > Hello > > I have read a lot but did not find any solution for inserting a =20 > array of floats into pg database via jdbc and prepared statements. > > Can anyone please help me out? > > Thanks > Christian > --=20 > cu > Chris > > Psssst! Schon vom neuen GMX MultiMessenger geh=F6rt? > Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger > > ---------------------------(end of =20 > broadcast)--------------------------- > TIP 6: explain analyze is your friend