When we program with database (for example in Java and MySql), should we check for duplicate entry before inserting, or should we just insert and catch the duplicate exception to raise alert to users ?When we program with database (for example in J
When we program with database (for example in Java and MySql), should we check for duplicate entry before inserting, or should we just insert and catch the duplicate exception to raise alert to users ?When we program with database (for example in J