MILWAUKEE -- Finally, the home run helped the San Diego Padres instead of hurt them.
Adrian Gonzalez and Vinny Castilla hit consecutive homers in the eighth inning to lift the San Diego Padres over the Milwaukee Brewers 6-5 Wednesday night.
"We've been missing that," San Diego manager Bruce Bochy said. "It won the game for us tonight, and that was what was hurting us, the long ball. "The Mexican Connection game through."
Milwaukee scored three times in the seventh to take a 5-4 lead but Gonzalez led off the next inning with his seventh homer. Gonzalez's drive came on an 0-2 pitch from Matt Wise (3-3) and extended his career-high hitting streak to 15 games.
"An 0-2 change-up for a strike is pretty much a mistake," Gonzalez said. "It stayed up knee-high. When you throw a change-up with two strikes up in the zone, most times, you're going to be able to (hit) it."
Castilla followed with another 0-2 pitch that resulted in a homer to left, his second of the season and first since April 12.
"Two of them in a row? That's the last thing you'd expect," Milwaukee manager Ned Yost said.
Added Wise: "I wouldn't take the pitch back. It was the location of them. Against Castilla I was trying to go head-high with a fastball possibly to set up a change-up, but I left it nipple-high and he tomahawked it."
Trevor Hoffman pitched the ninth for his 13th save in 13 opportunities.
"That would have been a tough one to let get away," Bochy said.
San Diego starter Chan Ho Park, trying to increase his career record to 8-0 against Milwaukee, retired 12 in a row before he got into trouble in the seventh.
With two outs and San Diego ahead 4-2, pinch-hitter Gabe Gross walked and advanced to second on a wild pitch.
Rickie Weeks singled in Gross to get Milwaukee within one and chase Park from the game.
"He's normally really, really tough on us," Yost said.
Scott Cassidy (4-2) came in and gave up a two-run homer to Brady Clark, the first batter he faced, for a 5-4 lead. It was Clark's second homer of the season and first since April 22.
"They've been doing a great job down in the bullpen," Bochy said.
Milwaukee's Zach Jackson, making his first major league start, allowed 10 hits and four runs, two earned, in 6 1/3 innings.
"I just wanted to give my team a chance to win," Jackson said.
Khalil Greene doubled and scored on Castilla's single in the sixth to give San Diego a 4-2 lead.
Mike Piazza had two RBI and Josh Barfield also drove in a run for the Padres.
Bill Hall hit a two-run shot for his 13th homer for Milwaukee.
Left-handed pitcher Shawn Estes, on the disabled list with a strained left elbow, had successful Tommy John surgery by Dr. Lewis Yocum at the Surgery Center in Los Angeles. "It all went well," Bochy said. ... The homers given up by Wise were the first earned runs he allowed at home this season. ... Prince Fielder's bat flew out of his hands on the first pitch he saw in the first inning and struck a young girl in the head. The girl, sitting in the first row behind Milwaukee's dugout on the first-base side, walked out of the stadium along with medical personnel. ... Milwaukee pitcher Rick Helling, on the disabled list with a sprained right elbow since April 11, will start for Triple-A Nashville on Saturday at New Orleans. He will then pitch next Thursday against Omaha before returning to Milwaukee for further evaluation. ... San Diego right fielder Brian Giles robbed Jackson of a possible home run in his first major league at-bat in the second inning. ... Milwaukee has used a major league-high 24 different pitchers this season, one shy of the club record.