Working hibernate+spring+jersey