Table CARGO
DROP TABLE IF EXISTS \"hibernatecurso\".\"cargo\"; CREATE TABLE \"hibernatecurso\".\"cargo\" ( \"idcargo\" int(11) NOT NULL DEFAULT \'0\', \"fun
I had the same kind of issue and I fixed it by making sure that collation and types matched in both FK and the parent PK.