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

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 (view raw or flat)
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

pgsql-jdbc by date

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

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