Paste #e3MB1nqeR

    public List<String> elementos() {
    	List<String> ret = new List<String>();
    	JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSourceFactory.getDataSource(DataSourceEnum.CDRONE_RAC));
    	List<Map<String, Object>> rows = jdbcTemplate.queryForList("SELECT DISTINCT cod_elemento FROM CONFIG_CTFDADOS_ELEMENTOS ORDER BY 1");
    	for (Map row : rows) {
    		ret.add(row.getString("cod_elemento"));
    	}
    	return ret;
    }