Re: JDBC changes for 7.2 - wish list item

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: JDBC changes for 7.2 - wish list item
Дата
Msg-id 3B8A7586.3000103@xythos.com
обсуждение исходный текст
Ответ на JDBC changes for 7.2 - wish list item  (Peter Wiley <wiley@mmspl.com.au>)
Список pgsql-jdbc
This is on the TODO list for the backend.  As a post a couple of days
ago stated, when the backend has error code support, it will also be
added to JDBC.  Until then....

thanks,
--Barry

Peter Wiley wrote:
> It's been mentioned before, but a set of error numbers for database errors
> would make trapping exceptions and dealing with them gracefully a LOT
> simpler. I have java code that runs against Oracle, Informix, PostgreSQL,
> MS SQL Server and Cloudscape. All(?) the others have an error code as well
> as an error message and it's a lot easier to get the error code.
>
> Of course, they all have *different* error codes for the same error (ie
> primary key violation). Nothing is ever simple.
>
> Peter Wiley
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
>
>



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

Предыдущее
От: T.R.Missner@Level3.com
Дата:
Сообщение: Fastpath error on solaris 2.8 pgsql 7.1.3
Следующее
От: Rene Pijlman
Дата:
Сообщение: Re: JDBC changes for 7.2 - wish list item