vendredi 2 janvier 2015

catch MySQLIntegrityConstraintViolationException in javafx


Vote count:

0




I tried to catch (MySQLIntegrityConstraintViolationException) but eclipse asked me to remove try and catch My question is how I can detect MySQLIntegrityConstraintViolationException. Because I want to update data, and my Table contained I foreign key, and when I tried to add data that doesn’t exist, this Error appears So I want to know If the data exist I change it, if not I add it



asked 1 min ago







catch MySQLIntegrityConstraintViolationException in javafx

Aucun commentaire:

Enregistrer un commentaire