SyntaxFix
Write A Post
Hire A Developer
Questions
To populate a List of String, you need not use custom row mapper. Implement it using queryForList.
queryForList
List<String>data=jdbcTemplate.queryForList(query,String.class)