Re: SQLException and error code

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: SQLException and error code
Дата
Msg-id 42E978EB.6020003@opencloud.com
обсуждение исходный текст
Ответ на Re: SQLException and error code  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-jdbc
Kevin Grittner wrote:
> To better support existing applications which (for reasons I don't
> really understand) rely on the vendor-specific errorCode instead of the
> ANSI-standard sqlState, you could implement getErrorCode as:
>
>     return Integer.parseInt(getSqlState(), 36);

Ow! It seems a bit pointless though, honestly..

Going to wait for a reply from the original poster, I still don't
understand what Peter wants getErrorCode() to return..

-O

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: smallint mapping issue
Следующее
От: Peter.Zoche@materna.de
Дата:
Сообщение: Re: SQLException and error code