Re: How to use error cords in java

Поиск
Список
Период
Сортировка
От Thusitha Kodikara
Тема Re: How to use error cords in java
Дата
Msg-id 898674.41585.qm@web56601.mail.re3.yahoo.com
обсуждение исходный текст
Ответ на How to use error cords in java  ("janaka priyadarshana" <rpjanaka@gmail.com>)
Список pgsql-jdbc
Hi,

I am not a Java expert. But generally in JDBC you should be able to get those information using the methods getErrorCode() , getSQLState() etc. in the  SQLException class. Have you checked the documentation for that class?

Regards,
-Thusitha

janaka priyadarshana <rpjanaka@gmail.com> wrote:
Hi .............

I want to get the database error cord return by the database, to identify the error message and other messages.

how can i use database cords, in my java program

please help me....

thank you.......

--
...........Janaka Priyadarshana...........


Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.

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

Предыдущее
От: "janaka priyadarshana"
Дата:
Сообщение: How to use error cords in java
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: release for 8.2