Re: Patch for some bugs/annoyances

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Patch for some bugs/annoyances
Дата
Msg-id Pine.LNX.4.33.0312111627520.16693-100000@leary.csoft.net
обсуждение исходный текст
Ответ на Patch for some bugs/annoyances  (Patrick Higgins <phiggins@transzap.com>)
Ответы Re: Patch for some bugs/annoyances  (Patrick Higgins <phiggins@transzap.com>)
Список pgsql-jdbc

On Thu, 11 Dec 2003, Patrick Higgins wrote:

> This first bug may have been causing the second; I can't remember
> anymore. Anyway, sometimes this.state in PSQLException is null causing
> getSQLState() to throw a NullPointerException. I've included a check for
> this and return the string "null" when the state is null.
>

I don't think returning "null" is correct.  I think
PSQLState.UNKNOWN_STATE should be used as the state when it is null.

Kris Jurka



В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Patrick Higgins
Дата:
Сообщение: Patch for some bugs/annoyances
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: [BUGS] BUG #1005: JDBC cancelRowUpdates() sets column values to