title: how to read generated sql statement from annotation-configured Mybatis mapper
body: <p>I'm using MyBatis 3.2.3 with Spring 3.2.5 with an annotation based configuration.  </p>
  
  <p>I have a few POJOs that call generated Mapper interfaces to execute SQL queries.<br>
  Is it possible to retrieve the SQL statement that's being executed by a mapper?  I could understand how to do this if I were using the 'old' approach where I had DAOs which extend SqlMapClientDaoSupport, but now that I'm using only mapper interfaces I'm not sure how I could get a reference to the generated SQL.</p>
  
  <p>Any pointers appreciated.</p>