Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

which exception is thrown on duplicates  RSS feed

 
Anchit Jindal
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which exception is thrown if we try to insert a duplicate value in primary key column of a table in java?
 
Campbell Ritchie
Sheriff
Posts: 54024
130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try it and see . . .
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!