I am getting the following error when testing Plane and Rail
Error com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`multi-modal`.`plane`, CONSTRAINT `Carrier` FOREIGN KEY (`Carrier`) REFERENCES `carriers` (`CarrierID`) ON DELETE NO ACTION ON UPDATE NO ACTION)
Number of Connections 33
Error com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`multi-modal`.`plane`, CONSTRAINT `Carrier` FOREIGN KEY (`Carrier`) REFERENCES `carriers` (`CarrierID`) ON DELETE NO ACTION ON UPDATE NO ACTION)
Number of Connections 35
Error com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`multi-modal`.`plane`, CONSTRAINT `Carrier` FOREIGN KEY (`Carrier`) REFERENCES `carriers` (`CarrierID`) ON DELETE NO ACTION ON UPDATE NO ACTION)
Number of Connections 38
Error com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`multi-modal`.`plane`, CONSTRAINT `Carrier` FOREIGN KEY (`Carrier`) REFERENCES `carriers` (`CarrierID`) ON DELETE NO ACTION ON UPDATE NO ACTION)
Number of Connections 42
Error com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`multi-modal`.`rail`, CONSTRAINT `Contractor` FOREIGN KEY (`Carrier`) REFERENCES `carriers` (`CarrierID`) ON DELETE NO ACTION ON UPDATE NO ACTION)
Number of Connections 44
Error com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`multi-modal`.`rail`, CONSTRAINT `Contractor` FOREIGN KEY (`Carrier`) REFERENCES `carriers` (`CarrierID`) ON DELETE NO ACTION ON UPDATE NO ACTION)
Number of Connections 46
Error com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`multi-modal`.`rail`, CONSTRAINT `Contractor` FOREIGN KEY (`Carrier`) REFERENCES `carriers` (`CarrierID`) ON DELETE NO ACTION ON UPDATE NO ACTION)
Number of Connections 49
Error com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`multi-modal`.`rail`, CONSTRAINT `Contractor` FOREIGN KEY (`Carrier`) REFERENCES `carriers` (`CarrierID`) ON DELETE NO ACTION ON UPDATE NO ACTION)
Number of Connections 53
Chris said to assign it to you since you were messing with the keys in the DB. The other classes work just fine.
Deleted all the foreign key dependences, we will probably have to handle this in the code itself due to the sophisticated interdependences of the classes
I am getting the following error when testing Plane and Rail
Chris said to assign it to you since you were messing with the keys in the DB. The other classes work just fine.