Soumya Manjunath wrote:Anybody can please guide me as to how to use rowmapper in queryForList
Thanks,
Soumya.
You cannot use a RowMapper in QueryForList. QueryForList returns a List of Maps. One Map for each row in the query. The Map has the field names as the keys and the value of the field as the value
If you want to use a RowMapper you have to call the query() method instead.
Mark