Upgraded to current Hibernate version.