PersistentClass.checkColumnDuplication fails for columns with same name but distinct tables. The work around is to change the column name of one of the two tables.