Upgrading hibernate.