Switched to latest hibernate version 4.1.9