Package cn.org.rapid_framework.generator

Source Code of cn.org.rapid_framework.generator.Ibatis3GeneratorTest

package cn.org.rapid_framework.generator;

import java.io.File;

import cn.org.rapid_framework.generator.provider.db.table.TableFactory;
import cn.org.rapid_framework.generator.provider.db.table.model.Table;

public class Ibatis3GeneratorTest extends GeneratorTestCase{

  public void testGenerate() throws Exception{

    Table table = TableFactory.getInstance().getTable("USER_INFO");
   
    g.addTemplateRootDir(new File("template").getAbsoluteFile());
    g.addTemplateRootDir(new File("plugins/ibatis3/template"));
   
    generateByTable(table);
   
    //Runtime.getRuntime().exec("cmd.exe /c start "+new File(g.outRootDir).getAbsolutePath());
  }
 
 
}
TOP

Related Classes of cn.org.rapid_framework.generator.Ibatis3GeneratorTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.