I have one List which contain one map i want to iterate is
List<Map<String, Object>> featureService=featureSubscriptionDao.getUnsubscribedSevice();
my dao method is
@Override
public List<Map<String, Object>> getUnsubscribedSevice() {
String sql="select * from tblservice where public='false'";
return getJdbcTemplate().queryForList(sql);
}
any help ?
List<Map<String, Object>> featureServices = getUnsubscribedSevice();
for (Map<String, Object> featureService : featureServices) {
for (Map.Entry<String, Object> entry : featureService.entrySet()) {
System.out.println(entry.getKey() + ": " + entry.getValue());
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With