Package net.loyin.jFinal.plugin.sqlXml

Examples of net.loyin.jFinal.plugin.sqlXml.SqlInXmlPlugin


    //添加自动绑定model与表插件
    AutoTableBindPlugin autoTableBindPlugin = new AutoTableBindPlugin(druidPlugin, TableNameStyle.LOWER);
    autoTableBindPlugin.setShowSql(true);
    autoTableBindPlugin.setContainerFactory(new CaseInsensitiveContainerFactory());
    me.add(autoTableBindPlugin);
    me.add(new SqlInXmlPlugin());
   
//    me.add(new SpringPlugin());//添加spring插件自动从WEB-INF下寻找application.xml
  }
View Full Code Here


   
    //添加自动绑定model与表插件
    AutoTableBindPlugin autoTableBindPlugin = new AutoTableBindPlugin(druidPlugin, TableNameStyle.LOWER);
    autoTableBindPlugin.setShowSql(true);
    me.add(autoTableBindPlugin);
    me.add(new SqlInXmlPlugin());
   
//    me.add(new SpringPlugin());//添加spring插件自动从WEB-INF下寻找application.xml
  }
View Full Code Here

TOP

Related Classes of net.loyin.jFinal.plugin.sqlXml.SqlInXmlPlugin

Copyright © 2018 www.massapicom. 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.