Exchange rates updated every x time. Using schedule task with cron 
(0 0/5* * ?).

From a set of String,BigDecimal, insert into currency_exchange the new
values.