AS7-6744 upgrade to Hibernate 4.2.0.Final