I am going to specify the 'username' column in my database (mySQL) as unique.
When I try to insert a duplicate username into that column, what kind of error / exception should I expect in
Java?
How should it be handled?
The ultimate goal here is to notify the user that the username already exists and that they should choose another.
Thanks!
Drew