Upgrading Hibernate lib