JDBC error codes to detect duplicates?

Поиск
Список
Период
Сортировка
От David Wall
Тема JDBC error codes to detect duplicates?
Дата
Msg-id 017801c0a27c$4b0902a0$5a2b7ad8@expertrade.com
обсуждение исходный текст
Ответ на something more about my question about performance  ("Enrico Mangano" <enrico.mangano@nethouse.it>)
Ответы Re: JDBC error codes to detect duplicates?
Список pgsql-interfaces
It seems that when an INSERT causes a duplicate key exception for
unique/primary keys, the JDBC library is throwing the SQL exception but
there is no code that lets my program detect a duplicate key error, or which
key caused the duplicate error.

Is there a plan for the JDBC to return the codes for postgres back to the
program?  I running 7.1beta4 now.

David



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

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin v7.1.0 Released
Следующее
От: Max Khon
Дата:
Сообщение: Re: JDBC error codes to detect duplicates?