| От | Barry Lind |
|---|---|
| Тема | Re: error codes |
| Дата | |
| Msg-id | 3D937487.3070806@xythos.com обсуждение исходный текст |
| Ответ на | error codes (Felipe Schnack <felipes@ritterdosreis.br>) |
| Список | pgsql-jdbc |
Felipe, The problem is that the postgres database doesn't support error codes, so jdbc doesn't have anything to report back. This is on the todo list for the server and when the server starts returning error codes jdbc will pass them on to the caller. thanks, --Barry Felipe Schnack wrote: > this 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... :-)
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера