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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-jdbc by date

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