Package org.qdao

Examples of org.qdao.DBConfig


      NoSuchMethodException, ClassNotFoundException, SQLException {
    return initializeDBEngine(config).getEntityDao(clazz, isLogger);
  }

  public static IDBEngine initializeDBEngine()  {
    DBConfig config = DBConfig.getInstance();
    // config.driver = "oracle.jdbc.driver.OracleDriver";
    // System.out.println(config.driver.indexOf("oracle"));
    // config.username = "QDAO";
    // config.password = "QDAO";
    // config.url = "jdbc:oracle:thin:@WAMNET-SVR:1521:WAMNET";
View Full Code Here


   * 2010/03/03 11:59:41
   */
  public static IDBEngine initializeDBEngine(String[] jarPaths, String driver, String url, String username, String password) throws InstantiationException, IllegalAccessException,
      ClassNotFoundException,
      SQLException {
    DBConfig config = DBConfig.getInstance();
    config.driver = driver;
    config.username = username;
    config.password = password;
    config.url = url;
    config.jarPath = jarPaths;
View Full Code Here

TOP

Related Classes of org.qdao.DBConfig

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.