Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC Exceptions

 
Ramesh Pappala
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the best exception you could expect - http://java.sun.com/j2se/1.4.2/docs/api/java/sql/SQLException.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic