Example code with Spring and Hibernate 4 and maven