aspose file tools
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 Groovy Fundamentals video training course this week in the Groovy 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: 42696
    
  32
Try it and see . . .
 
wood burning stoves
 
subject: which exception is thrown on duplicates