From: Eric Faulhaber <ecf@goldencode.com>
To: Kris Jurka <books@ejurka.com>
Cc: Ludovico Bianchini <metlud@yahoo.it>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: ResultSet with more than 5 rows causes error
Date: Thu, 27 Sep 2007 16:50:53 -0400
Message-ID: <46FC17AD.50507@goldencode.com> (raw)
In-Reply-To: <Pine.BSO.4.64.0709271620530.14153@leary.csoft.net>
References: <008901c8011f$8c815800$4101a8c0@MRHYDE>
<Pine.BSO.4.64.0709271620530.14153@leary.csoft.net>
Kris Jurka wrote:
>
>
> On Thu, 27 Sep 2007, Ludovico Bianchini wrote:
>
>> Sorry, the error does not seem to be in the ResultSet but instead in
>> the Callable Statement, method execute().
>>
>> java.lang.NullPointerException
>> at
>> org.postgresql.core.v3.SimpleParameterList.getV3Length(SimpleParameterList.java:228)
>>
>> at
>> org.postgresql.core.v3.QueryExecutorImpl.sendBind(QueryExecutorImpl.java:807)
>>
>
> It is likely failing at execution number 6 because that's the point
> where the driver switches over to using server prepared statements
> instead of executing things on the fly. I don't have time to take a
> look at this now, but it's likely a driver problem. Hopefully I'll be
> able to look at this on Sunday/Monday.
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.
Regards,
Eric Faulhaber
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: ecf@goldencode.com, books@ejurka.com, metlud@yahoo.it
Subject: Re: ResultSet with more than 5 rows causes error
In-Reply-To: <46FC17AD.50507@goldencode.com>
References: <008901c8011f$8c815800$4101a8c0@MRHYDE> <Pine.BSO.4.64.0709271620530.14153@leary.csoft.net> <46FC17AD.50507@goldencode.com>
* 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