BC-1667 upgrade hibernate