Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id E68222E332C for ; Mon, 11 Feb 2008 01:50:46 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 32230-01-5 for ; Mon, 11 Feb 2008 01:50:40 -0400 (AST) Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id 319532E39DA for ; Mon, 11 Feb 2008 01:39:15 -0400 (AST) Received: (qmail 27373 invoked by uid 1112); 11 Feb 2008 05:39:14 -0000 Date: Mon, 11 Feb 2008 00:39:14 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: andreasfreyer cc: pgsql-jdbc@postgresql.org Subject: Re: getXXX throws SQLException while on insert row In-Reply-To: <15403292.post@talk.nabble.com> Message-ID: References: <4726383A.8060909@nqadmin.com> <15403292.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/36 X-Sequence-Number: 18243 On Sun, 10 Feb 2008, andreasfreyer wrote: > I would like to draw our attention to the the last sentence: > "An updater method must be called before a getter method can be called on a > column value." > > That means after setting a value [rs.updateXXX(abc)] it is possible to get > it back [rs.getXXX()] without doing anything else in between [so without > rs.insertRow() or rs.updateRow()]. > OK, I read that the same way you do (the pg driver is currently wrong). I'll take a look to see how hard this will be to fix. Kris Jurka