JBIDE-17564 Fixed compilation error caused by hibernate tools API changes