aspose file tools*
The moose likes JDBC and the fly likes JDBC Exceptions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC Exceptions" Watch "JDBC Exceptions" New topic
Author

JDBC Exceptions

Ramesh Pappala
Ranch Hand

Joined: Sep 14, 2005
Posts: 50
What are the exceptions are going to be raised when we are inserting a value which is existing in a database table column which is primary key.

And also if possible please list me all the different type of exceptions which are going to be raised in jdbc when we doing some operations in database tables.

If possible send me some links related to these.
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
This is the best exception you could expect - http://java.sun.com/j2se/1.4.2/docs/api/java/sql/SQLException.html


Cheers!<br /><b>Annie</b>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDBC Exceptions