From: Oliver Jowett <oliver@opencloud.com>
To: Martin Keller <martin.keller@unitedplanet.de>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: moveToInsertRow doesn't work when using prepared statements
Date: Fri, 28 Jan 2005 10:00:41 +1300
Message-ID: <41F95679.8030004@opencloud.com> (raw)
In-Reply-To: <200501271500.46617.martin.keller@unitedplanet.de>
References: <200501271500.46617.martin.keller@unitedplanet.de>
Martin Keller wrote:
> calling moveToInsertRow on a ResultSet returned by a prepared statement leads
> to a NullPointerException:
Thanks for the report, fixed in CVS.
A workaround is to specify protocolVersion=2 in the connection URL, as
the V2 protocol code is correct (it looks like that change wasn't made
in both paths when I was originally writing this code)
-O
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: oliver@opencloud.com, martin.keller@unitedplanet.de
Subject: Re: moveToInsertRow doesn't work when using prepared statements
In-Reply-To: <41F95679.8030004@opencloud.com>
References: <200501271500.46617.martin.keller@unitedplanet.de> <41F95679.8030004@opencloud.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