Hernandez threw 105 pitches in 6 2/3 innings. He allowed three runs on six hits and left the game trailing, 3-1.
After the game, both Wedge and Hernandez were optimistic that there would be no lingering effects from the cramp.
"We should be OK," Wedge said.
Hernandez, who was thoroughly checked by the medical staff after he came off the field, said he had never experienced a similar cramp.
"It was hot," Hernandez said.
Robert Falkoff is a contributor to MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.