Roeland Schaftenaar sparked a 7-0 overtime run and Oregon State came from behind for a 65-62 win against Stanford in Wednesday's semifinals of the College Basketball Invitational.

Lathan Wallace had 16 points and three steals for Oregon State (16-17), which lost a six-point lead in the final 2:30 of regulation, but overcame a five-point deficit in overtime.

Schaftenaar added 14 points and Calvin Haynes 10 for the Beavers, who will host Texas-El Paso on Monday in the first game of the best-of-three CBI championship series.

Anthony Goods led Stanford (20-14) with 20 points.

It was the fourth meeting of the year between the Pac-10 conference rivals. The Beavers swept the regular-season games, but the Cardinal got even in the first round of the postseason tournament.

On Wednesday, Oregon State had a 28-26 halftime lead after Haynes had a steal and basket with one second left. The Beavers held the lead despite suffering through an eight-minute stretch without a point. The Beavers survived by holding the Cardinal to just five points.

Drew Shiller's 3-pointer capped a 9-0 run that put Stanford ahead 35-30 with 14:15 remaining in regulation. Oregon State regained the lead, with Seth Tarver's score giving the Beavers a 51-45 lead with 2:36 left.

But Stanford came back, and Lawrence Hill's 15-foot shot at the buzzer sent the game into overtime tied at 54.

Landry Fields' 3-pointer gave the Cardinal a 61-56 lead with 2:30 left in overtime, the Cardinal was held to one point after that.

Schaftenaar scored the first five points of that late 7-0 run, then found Tarver at the basket for two more.

Hill finished with 14 points for Stanford and Fields had 11.

Copyright 2009 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.