Package com.caucho.quercus.lib.db

Examples of com.caucho.quercus.lib.db.JdbcDriverContext


      }
    }

    super.init();

    JdbcDriverContext jdbcDriverContext = getJdbcDriverContext();

    String driver = getIniString("google.jdbc_driver");

    if (driver == null) {
      driver = "com.google.appengine.api.rdbms.AppEngineDriver";
    }

    jdbcDriverContext.setDefaultDriver(driver);
    jdbcDriverContext.setDefaultUrlPrefix("jdbc:google:rdbms://");
    jdbcDriverContext.setDefaultEncoding(null);
    jdbcDriverContext.setProtocol("mysql", driver);
    jdbcDriverContext.setProtocol("google:rdbms", driver);
  }
View Full Code Here

TOP

Related Classes of com.caucho.quercus.lib.db.JdbcDriverContext

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.