TIAA interview question

Basic question on java spring hibernate