Cognizant interview question

Spring and Hibernate