Re: getXXX throws SQLException while on insert row

From: andreasfreyer <freyer(at)online(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getXXX throws SQLException while on insert row
Date: 2008-02-11 08:07:39
Message-ID: 15407063.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Hi Kris,

maybe it is not so hard to fix because only if an updateXXX (or updateNull)
has already been performed onto a certain column the getter method needs to
return an other result as the current implementation of the pg-jbdc driver
does.

I think if you would have a list of the rows that have been recently updated
a getter-method could check this list and if the column is in this list it
returns the value of the insertRow .... I mean the separate area that you
mentioned in an earlier post.

Best regards,

Andreas Freyer

PS: Have Fun! :-)

--
View this message in context: http://www.nabble.com/getXXX-throws-SQLException-while-on-insert-row-tp13476706p15407063.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-jdbc by date

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