Re: ResultSet with more than 5 rows causes error

From: Kris Jurka <books(at)ejurka(dot)com>
To: Eric Faulhaber <ecf(at)goldencode(dot)com>
Cc: Ludovico Bianchini <metlud(at)yahoo(dot)it>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: ResultSet with more than 5 rows causes error
Date: 2007-09-27 21:21:26
Message-ID: Pine.BSO.4.64.0709271720260.16033@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Thu, 27 Sep 2007, Eric Faulhaber wrote:

> If this is the case, couldn't he use "?prepareThreshold=0" at the end of his
> connect URL as a temporary workaround? It will be slower, but it would
> unblock him.
>

Yes, but it's pretty much equivalent to his current workaround of creating
a new CallableStatement object inside the loop and that doesn't affect
other queries.

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message David Gagnon 2007-09-28 10:21:29 rs.getBigDecimal returning Null on field that is not null
Previous Message Eric Faulhaber 2007-09-27 20:50:53 Re: ResultSet with more than 5 rows causes error