Package com.jfinal.plugin.c3p0

Examples of com.jfinal.plugin.c3p0.C3p0Plugin


  /**
   * 配置插件
   */
  public void configPlugin(Plugins me) {
    // 配置C3p0数据库连接池插件
    C3p0Plugin c3p0Plugin = new C3p0Plugin(getProperty("jdbcUrl"), getProperty("user"), getProperty("password").trim());
    me.add(c3p0Plugin);
   
    // 配置ActiveRecord插件
    ActiveRecordPlugin arp = new ActiveRecordPlugin(c3p0Plugin);
    me.add(arp);
View Full Code Here

TOP

Related Classes of com.jfinal.plugin.c3p0.C3p0Plugin

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.