Re: Help:updateRow() with CIDR types

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Help:updateRow() with CIDR types
Дата
Msg-id 4089ADD6.5050604@opencloud.com
обсуждение исходный текст
Ответ на Re: Help:updateRow() with CIDR types  (Moray Taylor <mugen@the400.homeunix.com>)
Список pgsql-jdbc
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
Дата:
Сообщение: Re: Help:updateRow() with CIDR types
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Help:updateRow() with CIDR types