Hibernate and Spring-MVC configuration