hibernate session fix