Re: setObject(...) with native Java arrays like String[] ?

From: John Lister <john(dot)lister(at)kickstone(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: setObject(...) with native Java arrays like String[] ?
Date: 2012-08-22 06:39:56
Message-ID: 50347EBC.2090505@kickstone.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 22/08/2012 04:09, Craig Ringer wrote:
>
> I was recently surprised to find that PgJDBC doesn't accept Java
> arrays as parameters to prepared statements.
As was I, I posted a patch a couple of months ago that did the same
thing but also accepted java List types as well (I'm often using these
especially with JPA and it would be nice to pass them into the driver),
although it seems to have been silently ignored. Maybe I'll repost it.

John

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message dmp 2012-08-22 15:18:15 Re: setObject(...) with native Java arrays like String[] ?
Previous Message Maciek Sakrejda 2012-08-22 04:52:06 Re: setObject(...) with native Java arrays like String[] ?