Spring MVC application using Hibernate