Mybatis how to dynamic create table sql in xml <p>Before,I use </p> <pre><code>&lt;select id="queryUser" parameterType="userInfo"&gt; select * from uc_login_${tableSuffix} &lt;/select&gt; userInfo:{ private String tableSuffix; } </code></pre> <p>and I create userInfo with tableSuffix like </p> <pre><code>new DateTime().getYear() + "_" + new DateTime().getMonthOfYear(); </code></pre> <p>and now I select from uc_login_nowYear_nowMonth(uc_login_2015_12). Now,I don't want create tabkeSuffix by myself,I want Mybatis help me to dynamic create sql in xml. How can I do that?</p>