hmm - sounds like a bug in mysql reverse engineering....
Might be related to https://issues.jboss.org/browse/JBIDE-7488 fix :(
Workaround set hibernate.default_catalog="sample2" and you should not get any mentions of catalog in your reverse engineering.