Hibernate 4 and Spring migration.