Re: getXXX throws SQLException while on insert row - Mailing list pgsql-jdbc

From andreasfreyer
Subject Re: getXXX throws SQLException while on insert row
Date
Msg-id 15407063.post@talk.nabble.com
Whole thread Raw
In response to Re: getXXX throws SQLException while on insert row  (Kris Jurka <books@ejurka.com>)
List 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.


pgsql-jdbc by date:

Previous
From: "Toru SHIMOGAKI"
Date:
Subject: Re: proposal: setKeepAlive
Next
From: Jan de Visser
Date:
Subject: Re: Patch for Statement.getGeneratedKeys()