Hibernate 4 Spring fix