Change from Hibernate 3 to Hibernate 4 in project servlets-example-crud