remove uses of org.hibernate.MappingException, simplify ReflectHelper