This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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 -

Cheers!<br /><b>Annie</b>
It is sorta covered in the JavaRanch Style Guide.
subject: JDBC Exceptions
It's not a secret anymore!