Skip site navigation (1) Skip section navigation (2)

Re: getXXX throws SQLException while on insert row

From: Kris Jurka <books(at)ejurka(dot)com>
To: andreasfreyer <freyer(at)online(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getXXX throws SQLException while on insert row
Date: 2008-02-11 05:39:14
Message-ID: Pine.BSO.4.64.0802110037150.10696@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

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

In response to

Responses

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2008-02-11 05:44:34
Subject: Re: Patch for Statement.getGeneratedKeys()
Previous:From: andreasfreyerDate: 2008-02-10 23:50:32
Subject: Re: getXXX throws SQLException while on insert row

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group