Ales Hemsky scores twice to lead Edmonton Oilers past Ottawa Senators 3-2

Edmonton Oilers' Sam Gagner (89), Nick Schultz (15), Ales Hemsky (83) and Mark Fraser (5) celebrate a goal against the Ottawa Senators during the second period of an NHL hockey game, Tuesday, March 4, 2014 in Edmonton, Alberta. (AP Photo/The Canadian Press, Jason Franson) (The Associated Press)

Ottawa Senators' Bobby Ryan (6) is checked by Edmonton Oilers' Mark Fraser (5) during the second period of an NHL hockey game, Tuesday, March 4, 2014 in Edmonton, Alberta. (AP Photo/The Canadian Press, Jason Franson) (The Associated Press)

Ales Hemsky scored two goals and the Edmonton Oilers snapped a three-game losing streak with a 3-2 victory over the Ottawa Senators on Tuesday night.

Jordan Eberle also scored and Taylor Hall had a pair of assists for the Oilers, who remain in second to last place in the NHL despite a 6-2-2 record in their past 10 games.

Jason Spezza and Erik Karlsson scored for the Senators, who have lost three of their past four games in the midst of trying to move up into a playoff spot in the Eastern Conference.