SAN DIEGO — At least the St. Louis Cardinals didn't get shut out.
Little else went right for the Cardinals on Wednesday night.
Rookie Jesse Hahn held St. Louis to one run and four hits in seven innings and Jedd Gyorko and Will Venable each homered and drove in four runs to lead the San Diego Padres to a 12-1 victory Wednesday night.
"It was probably our ugliest loss of the year," manager Mike Matheny said. "That's not the kind of baseball we've played all year. No excuses, we were terrible. You can take any of it today and it was awful."
Yangervis Solarte, obtained from the New York Yankees in the trade for Chase Headley, had four hits and the Padres tied their season high with 16. Yasmani Grandal was the only regular without a hit, although all eight starters scored at least one run. The Padres fell one run shy of their season high.
Will Venable hit a 379-foot, three-run homer to right to cap the eight-run seventh. It was his fourth. The Padres had five hits, three walks and a hit batter off three relievers in the inning. Gyorko hit a three-run double, his third hit.
Hahn's latest impressive start — on his 25th birthday — put the Padres, buried in third place in the NL West, in position to sweep the series with a win Thursday. The Cardinals are in the race for the NL Central crown a season after going to the World Series.
Hahn (7-2) struck out three and walked two in winning his third straight start. The lanky righty retired the first seven batters before Tony Cruz beat out an infield single. Hahn was acquired in a seven-player trade with Tampa Bay on Jan. 22.
Matheny said the offense "is going to be day to day. It's not going to be easy. We knew it's going to be like this for a while."
Gyorko, who returned Monday from a 44-game stay on the disabled list with plantar fasciitis, homered to left on a 1-0 pitch from Joe Kelly with one out in the fourth to give San Diego a 3-0 lead. It was his sixth. Yonder Alonso followed with a triple and came in on Venable's single.
Alexi Amarista had three hits and scored three runs, and Solarte also had three hits.
Kelly (2-2) went five innings, allowing four runs and seven hits while striking out five and walking one.
"Pitches were up that should have been down. They were above the knees," Kelly said. "My fastball, I couldn't locate it. My ball was running a lot. I just need to control it better next time."
Padres: RHP Andrew Cashner threw another bullpen Wednesday and is scheduled to throw a simulated game during the weekend. He could begin a rehab assignment next week. He's on the disabled list with soreness in his right shoulder.
Cardinals: Shelby Miller (7-8, 4.20) is 0-1 with a 5.19 ERA in one career start and two appearances against San Diego, both at Petco Park
Padres: Odrisamer Despaigne (2-2, 1.66) tries to bounce back from rocky start in 5-3 loss to Atlanta, when he lasted only 3 2-3 innings.
The Cardinals acquired RHP Justin Masterson from Cleveland for minor league OF James Ramsey. Masterson is scheduled to start Saturday against Milwaukee in St. Louis.