Re: Trying to insert an array using a prepared statement.

From: Kris Jurka <books(at)ejurka(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: Eric Davies <slowcanuck(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Trying to insert an array using a prepared statement.
Date: 2008-12-31 19:31:58
Message-ID: Pine.BSO.4.64.0812311430350.10458@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Mon, 29 Dec 2008, Dave Cramer wrote:

> You have to implement the java.sql.Array interface on your object.
>

With JDBC4 support you should really be using Connection.createArrayOf,
not implementing Array and the PG specific getBaseType and toString
methods that are needed.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Guillaume Cottenceau 2008-12-31 19:49:00 Re: Trying to insert an array using a prepared statement.
Previous Message Kris Jurka 2008-12-31 19:29:51 Re: Support of getting generated keys in driver version 8.4devel