Update Hibernate entity manager to the latest correct version