Thread: How to use error cords in java
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...........
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...........
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:
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.
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.