Re: Trying to insert an array using a prepared statement. - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Trying to insert an array using a prepared statement.
Date
Msg-id Pine.BSO.4.64.0812311430350.10458@leary.csoft.net
Whole thread Raw
In response to Re: Trying to insert an array using a prepared statement.  ("Dave Cramer" <pg@fastcrypt.com>)
List 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


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Support of getting generated keys in driver version 8.4devel
Next
From: Guillaume Cottenceau
Date:
Subject: Re: Trying to insert an array using a prepared statement.