Re: REPOST: error codes

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: REPOST: error codes
Дата
Msg-id 1033052465.1964.68.camel@inspiron.cramers
обсуждение исходный текст
Ответ на REPOST: error codes  (Felipe Schnack <felipes@ritterdosreis.br>)
Список pgsql-jdbc
Felipe,

Unfortunately the server doesn't have error codes as such. The best way
to deal with this at the moment is to look at your logs.

Dave
On Thu, 2002-09-26 at 10:35, Felipe Schnack wrote:
>   pgsql's jdbc driver is setting the error code when a SQLException is
> thrown? I got an duplicate primary key error, but getErrorCode() result
> is zero.
>   Detect which error occurred using getMessage() isn't a really good
> way...:-)
>
> --
>
> Felipe Schnack
> Analista de Sistemas
> felipes@ritterdosreis.br
> Cel.: (51)91287530
> Linux Counter #281893
>
> Faculdade Ritter dos Reis
> www.ritterdosreis.br
> felipes@ritterdosreis.br
> Fone/Fax.: (51)32303328
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>




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

Предыдущее
От: Vernon Wu
Дата:
Сообщение: Is the JDBC driver i18n compatible?
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: administering pgsql