Spring Example #${mod:-1} with database