Re: Help:updateRow() with CIDR types

Поиск
Список
Период
Сортировка
Искать
От
Oliver Jowett
Тема
Re: Help:updateRow() with CIDR types
Дата
Msg-id
4089ADD6.5050604@opencloud.com
Ответ на
Список
Дерево обсуждения
Help:updateRow() with CIDR types Moray Taylor <mugen@the400.homeunix.com>
Re: Help:updateRow() with CIDR types Oliver Jowett <oliver@opencloud.com>
Re: Help:updateRow() with CIDR types Moray Taylor <mugen@the400.homeunix.com>
Re: Help:updateRow() with CIDR types Oliver Jowett <oliver@opencloud.com>
Re: Help:updateRow() with CIDR types Kris Jurka <books@ejurka.com>
Re: Help:updateRow() with CIDR types Moray Taylor <mugen@the400.homeunix.com>
Re: Help:updateRow() with CIDR types Kris Jurka <books@ejurka.com>
Re: Help:updateRow() with CIDR types Moray Taylor <mugen@the400.homeunix.com>
Re: Help:updateRow() with CIDR types Oliver Jowett <oliver@opencloud.com>
Re: Help:updateRow() with CIDR types Moray Taylor <mugen@the400.homeunix.com>
Moray Taylor wrote:

> I was using updateObject(), I changed it to updateString, I still get  
> an SQLException, with no getMessage() data, 

Can you post the exception you get, including stacktrace? What is the 
query and error (if any) logged on the backend?

(it looks like updateRow's exception rethrow behaviour is pretty lousy 
-- it should probably be catching and rethrowing SQLExceptions unchanged)

> however, the data IS  
> entered into the database, but the ResultSet isn't updated, i.e. I have  
> to requery to see the results. Any ideas?

I'd guess that the exception is causing the row update logic not to 
update the resultset's version of the data.

-O
В списке pgsql-jdbc по дате отправления
От: Moray Taylor
Дата:
От: Kris Jurka
Дата:
FAQ