This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes which exception is thrown on duplicates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "which exception is thrown on duplicates" Watch "which exception is thrown on duplicates" New topic
Author

which exception is thrown on duplicates

Anchit Jindal
Greenhorn

Joined: Feb 03, 2010
Posts: 21
which exception is thrown if we try to insert a duplicate value in primary key column of a table in java?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 44031
    
  33
Try it and see . . .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: which exception is thrown on duplicates
 
It's not a secret anymore!