Re: Expressiveness of SQLException

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Expressiveness of SQLException
Дата
Msg-id 48105751.4080902@postnewspapers.com.au
обсуждение исходный текст
Ответ на Expressiveness of SQLException  (Daniel Migowski <dmigowski@ikoffice.de>)
Список pgsql-jdbc
Daniel Migowski wrote:

> When this function is called by JDBC, the only information stored in the
> exception is:
>
>     ERROR: value too long for type character varying(255)
>
> Which makes debugging from server logfiles much harder. I expected to
> have some more exceptions encapsulated (retrievable with
> getNextException on PSQLException), but found nothing.

http://java.sun.com/j2se/1.4.2/docs/api/java/sql/SQLException.html#getErrorCode()
http://java.sun.com/j2se/1.4.2/docs/api/java/sql/SQLException.html#getSQLState()

--
Craig Ringer

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

Предыдущее
От: Daniel Migowski
Дата:
Сообщение: Expressiveness of SQLException
Следующее
От: Chris Mattmiller
Дата:
Сообщение: Re: Login Roles