title: Mybatis mapping for select * query
body: <p>I was trying to write a mybatis mapper for a select *  query which would return me a list of rows from a ProcessType table. And each row has to be mapped to  a ProcessType pojo. I know how to map a single row to the POJO, but how to go about this for list of Process Type?</p>
  
  <p>POJO--> 
  class name : ProcessType
  Properties:<br>
        String ABC;
       String id; 
       String Date;</p>
  
  <p>From mapper I call a proc 'XYZ' which returns me the cursor for list of rows for ProcessType table being queried.</p>