From: Kris Jurka <books@ejurka.com>
To: Christian Kindler <christian.kindler@gmx.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: prepared statement using postgres array
Date: Sat, 1 Dec 2007 07:55:33 -0500 (EST)
Message-ID: <Pine.BSO.4.64.0712010753140.20585@leary.csoft.net> (raw)
In-Reply-To: <20071130140744.141200@gmx.net>
References: <20071130140744.141200@gmx.net>
On Fri, 30 Nov 2007, Christian Kindler wrote:
> 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.
>
Just now I've implemented the JDBC4 method Connection.createArrayOf, so if
you're using JDK1.6 and don't mind using a development driver that's
probably the best way to go.
http://ejurka.com/pgsql/jars/arr/
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, christian.kindler@gmx.net
Subject: Re: prepared statement using postgres array
In-Reply-To: <Pine.BSO.4.64.0712010753140.20585@leary.csoft.net>
References: <20071130140744.141200@gmx.net> <Pine.BSO.4.64.0712010753140.20585@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox