Reset, working hibernate and spring