title: simpleJdbcTemplate multiple row fetch
body: <p>I'm using <strong>SimpleJdbcTemplate</strong> to fetch a list of records from a database. Each record corresponds to a data model object. I have searched in the internet a lot but I still
  can't figure out how to fetch multiple rows from a database using <strong>generic row mapper</strong>.</p>
  
  <p>Say I need to fetch a <strong>list of objects</strong> of type SampleObj.</p>
  
  <p>How will I define the parameterized row mapper? How will I get the list of the SampleObj type objects?</p>
  
  <p>Whenever I try creating a row mapper, the return type from the row mapper is always detected as a single object rather than a list. Please help.</p>