Re: getXXX throws SQLException while on insert row

Поиск
Список
Период
Сортировка
От andreasfreyer
Тема Re: getXXX throws SQLException while on insert row
Дата
Msg-id 15407063.post@talk.nabble.com
обсуждение исходный текст
Ответ на Re: getXXX throws SQLException while on insert row  (Kris Jurka <books@ejurka.com>)
Список 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 по дате отправления:

Предыдущее
От: "Toru SHIMOGAKI"
Дата:
Сообщение: Re: proposal: setKeepAlive
Следующее
От: Jan de Visser
Дата:
Сообщение: Re: Patch for Statement.getGeneratedKeys()