Hibernate server end fix