adding hibernate code to spring project (broken)