Posts by Marco Antônio Castilho • 1 point
1 post
-
0
votes2
answers142
viewsA: Error with.mysql.jdbc.exceptions.jdbc4.Mysqlintegrityconstraintviolationexception: Cannot add or update a Child Row: a Foreign key Constraint fails
When I made a method to delete User from my database, I returned this error, and the reason for the error was that the User I was trying to delete, was with Requests linked to it, and if I deleted,…