String driver = "oracle.jdbc.driver.OracleDriver";
String driver = "oracle.jdbc.OracleDriver";
  private static Value connectInternal(Env env,                                       boolean reuseConnection,                                       String username,                                       String password,                                       String db,                                       String charset,                                       int sessionMode)  {    String host = "localhost";    int port = 1521;    String driver = "oracle.jdbc.driver.OracleDriver";    String url;    if (db.indexOf("//") == 0) {      // db is the url itself: "//db_host[:port]/database_name"      url = "jdbc:oracle:thin:@" + db.substring(2);      url = url.replace('/', ':');    } else {      url = "jdbc:oracle:thin:@" + host + ":" + port + ":" + db;    }    Oracle conn = null;    ConnectionInfo connectionInfo = (ConnectionInfo)env.getSpecialValue("caucho.oracle");    if (reuseConnection && (connectionInfo != null) && url.equals(connectionInfo.getUrl())) {      // Reuse the cached connection      conn = connectionInfo.getConnection();    } else {      conn = new Oracle(env, host, username, password, db, port, driver, url);      connectionInfo = new ConnectionInfo(url, conn);      env.setSpecialValue("caucho.oracle", connectionInfo);    }    Value value = env.wrapJava(conn);    return value;  }