use RowMapper(which is used everyehere in the code) while fetching data