Re: moveToInsertRow doesn't work when using prepared statements

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Martin Keller <martin(dot)keller(at)unitedplanet(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: moveToInsertRow doesn't work when using prepared statements
Date: 2005-01-27 21:00:41
Message-ID: 41F95679.8030004@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2005-01-27 21:18:47 Enforcing CONCUR_*
Previous Message Martin Keller 2005-01-27 14:00:46 moveToInsertRow doesn't work when using prepared statements