Enrique Hernandez tripled, doubled, singled, scored twice and drove in a run as the Dodgers hung on for a 4-3 win over the D-Backs. He also struck out and fouled out, missing a cycle by a home run.