public void test_generate_by_mybatis_user_info() throws Exception {
g.setTemplateRootDir(FileHelper.getFileByClassLoader("for_generate_by_sql_config"));
File file = FileHelper.getFileByClassLoader("cn/org/rapid_framework/generator/ext/tableconfig/mybatis_user_info.xml");
TableConfig t = new TableConfigXmlBuilder().parseFromXML(file);
GeneratorModel gm = newFromTable(t);
g.generateBy(gm.templateModel, gm.filePathModel);
g.setTemplateRootDir(FileHelper.getFileByClassLoader("for_generate_by_sql"));
for(Sql sql : t.getSqls()) {
gm = newFromSql(sql,t);