Package com.webobjects.jdbcadaptor

Examples of com.webobjects.jdbcadaptor.JDBCPlugIn


        dbPassword = (String) dict.objectForKey("password");
       
        if (dbDriver == null || dbDriver.length() == 0) {
          JDBCAdaptor jdbcAdaptor = new JDBCAdaptor("JDBC");
          jdbcAdaptor.setConnectionDictionary(dict);
          JDBCPlugIn plugIn = jdbcAdaptor.plugIn();
          dbDriver = plugIn.defaultDriverName();
        }

        minimumConnections = ERXValueUtilities.intValueWithDefault(dict.objectForKey("minConnections"), ERXProperties.intForKeyWithDefault("er.extensions.ERXJDBCConnectionBroker.minConnections", 1));
    maximumConnections = ERXValueUtilities.intValueWithDefault(dict.objectForKey("maxConnections"), ERXProperties.intForKeyWithDefault("er.extensions.ERXJDBCConnectionBroker.maxConnections", 1));
    maxCheckoutMillis = ERXValueUtilities.intValueWithDefault(dict.objectForKey("maxCheckout"), ERXProperties.intForKeyWithDefault("er.extensions.ERXJDBCConnectionBroker.maxCheckout", maxCheckoutSecond)) * 1000;
 
View Full Code Here


    EOAdaptor adaptor = adaptorChannel.adaptorContext().adaptor();
    return ERXSQLHelper.newSQLHelper(adaptor);
  }

  public static ERXSQLHelper newSQLHelper(JDBCAdaptor adaptor) {
    JDBCPlugIn plugin = adaptor.plugIn();
    return ERXSQLHelper.newSQLHelper(plugin);
  }
View Full Code Here

TOP

Related Classes of com.webobjects.jdbcadaptor.JDBCPlugIn

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.