• Post Reply Bookmark Topic Watch Topic
  • New Topic

which exception is thrown on duplicates

 
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
Marshal
Posts: 53147
124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try it and see . . .
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!