properly initialize hibernate version in constructor