use hibernate 4.0.1 and spring 3.1.1 release