Advertisement
Guest User

Untitled

a guest
Feb 28th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot add or update a child row: a foreign key constraint fails (`exercisegenerator`.`exercise`, CONSTRAINT `exercise_exam_id_fk` FOREIGN KEY (`examid`) REFERENCES `exam` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)
  2. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_101]
  3. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_101]
  4. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_101]
  5. at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_101]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement