jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases 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 and Relational Databases
Bookmark "JDBC Exceptions" Watch "JDBC Exceptions" New topic

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>
I agree. Here's the link: http://aspose.com/file-tools
subject: JDBC Exceptions
It's not a secret anymore!