Upgrade Hibernate API