The Los Angeles Dodgers on Thursday acquired infielder Yonny Hernández from the Oakland Athletics in exchange for cash.

The 24-year-old switch-hitter played in 12 games for Arizona last season after being traded by Texas in April. Hernández was claimed by Oakland last month and was designated for assignment this week.