Infosys Interview Question

Question on spring hibernate java database