added hibernate and spring usage