No error code on unique constraint violation

Поиск
Список
Период
Сортировка
От Laurent Duperval
Тема No error code on unique constraint violation
Дата
Msg-id 41AB38F5.7000205@fleetmind.com
обсуждение исходный текст
Ответы Re: No error code on unique constraint violation
Список pgsql-jdbc
Hello,

I'm using postgres-jdbc-80b1.308 (type 3) with Postgres 8 beta 5. I'm
running some unit tests where I test unique constraint violations. When
I get an exception, I check the error code to see what it is and take
appropriate action. With SQL Server and Firebird I get a specific error
code but with the Postgres driver I get 0. I'm not sure if this is a
driver or a Postgres problem.

I'm running on Windows.

L


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

Предыдущее
От: jonathan.lister@vaisala.com
Дата:
Сообщение: Re: Is there a size limit on setBinaryStream?
Следующее
От: Ian Pilcher
Дата:
Сообщение: Re: No error code on unique constraint violation