Re: Patch for some bugs/annoyances

Поиск
Список
Период
Сортировка
От Patrick Higgins
Тема Re: Patch for some bugs/annoyances
Дата
Msg-id 1071182492.24112.46.camel@phiggins.transzap.com
обсуждение исходный текст
Ответ на Re: Patch for some bugs/annoyances  (Kris Jurka <books@ejurka.com>)
Ответы Re: Patch for some bugs/annoyances  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
On Thu, 2003-12-11 at 14:32, Kris Jurka wrote:
> 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.

That sounds like a much better idea. I only used "null" because I didn't
know better.


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: [BUGS] BUG #1005: JDBC cancelRowUpdates() sets column values to
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: PostgreSQL & DB2 !!!