Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: How to use error cords in java



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(at)gmail(dot)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.

Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group