title: Can I use MyBatis to generate Dynamic SQL without executing it?
body: <p>I have some complex queries to build with a number of optional filters, for which MyBatis seems like an ideal candidate for generating dynamic SQL.</p>
  
  <p>However, I still want my query to execute in the same framework as the rest of the application (which is not using MyBatis).</p>
  
  <p>So what I was hoping to do was use MyBatis strictly for generating the SQL, but from there using the rest of my app to actually execute it. Is this possible? If so, how?</p>