change hibernate session managements