title: what does mybatis really do when process a query like "select *"
body: <p>I know mybatis will map the query result to a POJO accroding to the resultMap. I wonder, if I write a "select *" query, but the resultMap doesn't contain all the columns in the table, will mybatis rewrite the query to "select col1, col2,...", or still execute the original "select *" query? If I just want the results of a few columns, should I write "select col1, col2,..." in the first place, or mybatis will do the job for me?</p>