Upgrade to Hibernate 4.0.1.Final - this is the version from AS7