@Override
public void updateData() {
String sql = "SELECT * FROM "+quoteTable("language")+" WHERE status=?";
Map<Integer, Language> dataMap = new HashMap<Integer, Language>();
List<Language> languageList = getJdbcOperations().query(sql, new Object[]{Status.ENABLED}, new LanguageRowMapper());
for(Language language: languageList){
dataMap.put(language.getId(), language);
}
this.languageMap = dataMap;
}