BALTIMORE -- Everth Cabrera capped a two-run San Diego rally in the top of the ninth inning with a tiebreaking RBI single off Baltimore closer Jim Johnson to give the Padres a 3-2 victory over the Orioles on Tuesday night.
Steve Pearce had given the Orioles (23-16) a 2-1 lead with an RBI single off starter Andrew Cashner with one out in the bottom of the eighth. That brought on Johnson, who had set a team record by converting 35 straight save opportunities dating to 2012.
Yonder Alonso and Mark Kotsay singled on the first two pitches off Johnson (1-3). The right-hander then got Jedd Gyorko to ground into a double play that moved Alonso to third.
Chris Denorfia tied the score with a single to center. Johnson then hit Nick Hundley, which moved Denorfia to second, and he scored on Cabrera's single to center for a 3-2 San Diego lead.
Luke Gregerson (2-2) got the win for the Padres (17-21) and Huston Street closed in the ninth for his ninth save as San Diego snapped a three-game losing streak.
Orioles starter Chris Tillman struggled through the first part of the game before settling down in the fourth. He retired the final two batters in that inning and the next nine to make it through seven innings.
Tillman threw 112 pitches, allowing one run and four hits with seven strikeouts. He needed 82 pitches to get through four innings and just 30 in the last three innings.
But Cashner matched Tillman, going 7 1/3 innings and giving up two runs and five hits and keeping the Orioles quiet throughout.
Carlos Quentin gave San Diego an early lead when he led off the second with a home run to left. He lined an 0-1 pitch into the seats off Tillman to put the Padres in front 1-0.
San Diego threatened later in the inning, loading the bases with two outs before Tillman struck out Cabrera to escape more damage.
The Orioles tied the score in the third when Ryan Flaherty led off with a homer to left off Cashner.
Flaherty, who entered the game with a .131 average, homered on a 1-1 pitch.
NOTES: Orioles LHP Wei-Yin Chen was placed on the 15-day disabled list, retroactive to May 13, with a right oblique strain. Chen got hurt during his winning five-inning effort Sunday in Minnesota. ... The Orioles called up RHP Alex Burnett and INF Yamaico Navarro after making the Chen move. Baltimore had a vacant roster spot after demoting LHP Mike Belfiore on Monday. Burnett is in his third stint with the Orioles this season, Navarro his second. ... This is only the second time the Padres ever have played in Baltimore. The other time came in 2002. The teams meet again in a two-game series Aug. 6-7 in San Diego. ... Alonso and Cabrera have played in all 38 of San Diego's games this season.