Revert "JBIDE-17729 compile failure in Seam (JavaEE)"

This reverts commit 78a510a5c31dcb12fece993d0ef0532988157623.
Revert "JBIDE-17564 Fixed compilation error caused by hibernate tools API changes"

This reverts commit e7d10b6d322703e010036ed315b26687443c1da8.