error codes using JDBC

Поиск
Список
Период
Сортировка
От Krishnakanth Rao
Тема error codes using JDBC
Дата
Msg-id 001201c46a49$f94804e0$e72a0a0f@india.hp.com
обсуждение исходный текст
Ответы Re: error codes using JDBC  (Kris Jurka <books@ejurka.com>)
Re: error codes using JDBC  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Hi,

I'am using the jdbc driver pg73jdbc3.jar in my jdbc code to acces PostGRE
SQL. Whenever a sql exception occurs it doesnt give me the appropriate error
code , eg referential integrity constraint voilated etc. The error code from
the SQLException is always zero.

How do I obtain the exact error code as mentioned in PostGRE documents

Regards
K Krishnakanth Rao
Senior Software Engineer
HP Global Delivery India Center

29 Cunningham Road
Bangalore - 560 052  India

+91 80 22051374 DID
+91 98456 82188 Mobile

Disclaimer:
This e-mail, and any files transmitted with it are "HP Confidential" and
intended solely for the use of the individual or entity to whom it is
addressed. If you have received this e-mail in error, please discard the
message and notify me directly.



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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: SSL Problem
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: error codes using JDBC