Corrected hibernate manytoone problem.