X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 823E93A5FDA for ; Thu, 27 Jan 2005 21:01:01 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12538-10 for ; Thu, 27 Jan 2005 21:00:54 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 60CE33A5FCC for ; Thu, 27 Jan 2005 21:00:54 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CuGkx-0002XQ-00; Fri, 28 Jan 2005 10:00:47 +1300 Message-ID: <41F95679.8030004@opencloud.com> Date: Fri, 28 Jan 2005 10:00:41 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0 (X11/20041228) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin Keller Cc: pgsql-jdbc@postgresql.org Subject: Re: moveToInsertRow doesn't work when using prepared statements References: <200501271500.46617.martin.keller@unitedplanet.de> In-Reply-To: <200501271500.46617.martin.keller@unitedplanet.de> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/272 X-Sequence-Number: 12152 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