HBX-1226 Fix compile test, now requires the Hibernate jar because of the use of org.hibernate.Hibernate.getClass(Object)