Oliva was a member of the Spanish National Team that claimed the silver medal at the 2008 Summer Olympics in Beijing, PR China. He also competed at the 2012 and 2016 Olympics. After the 2016 Olympic Games, he did play for the national team for three years. In October 2019, he was brought back into the national team for the 2019 Men's FIH Olympic Qualifiers. On 25 May 2021, he was selected in the squad for the 2021 EuroHockey Championship. On 28 May 2021 he had to withdraw from the squad because of his imminent fatherhood. He returned in the national team for the 2020 Summer Olympics, after the Olympics he retired as a hockey player.