Re: prepared statement using postgres array

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Christian Kindler <christian(dot)kindler(at)gmx(dot)net>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: prepared statement using postgres array
Date: 2007-11-30 16:40:14
Message-ID: 77FD84BA-A86E-4037-9735-115CF1A077B4@fastcrypt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Christian,

Look through our test code, essentially you have to implement the
java.sql.Array interface on an object which contains an array of
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
> array of floats into pg database via jdbc and prepared statements.
>
> Can anyone please help me out?
>
> Thanks
> Christian
> --
> cu
> Chris
>
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 6: explain analyze is your friend

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Christian Kindler 2007-11-30 17:43:05 Re: prepared statement using postgres array
Previous Message Christian Kindler 2007-11-30 14:07:44 prepared statement using postgres array