Get Hibernate 4 working with our stuff.