Package com.caucho.quercus

Examples of com.caucho.quercus.UnimplementedException


   *
   * @return true on success, false on error.
   */
  private boolean setStatementClass(Value value)
  {
    throw new UnimplementedException("ATTR_STATEMENT_CLASS");
  }
View Full Code Here


                                         @Optional("0") int type)
  {
    if ((type == OCI_B_CFILEE) ||
        (type == SQLT_CFILE) ||
        (type == SQLT_CFILEE)) {
      throw new UnimplementedException("oci_bind_by_name with CFILE");
    }

    try {

      if (placeholderName == null) {
View Full Code Here

    // the first call. This means that queries issued against one handle
    // are also applied to the other handles, because they are the same
    // handle. (source: php.net)

    if (!((charset == null) || charset.length() == 0)) {
      throw new UnimplementedException("oci_connect with charset");
    }

    if (sessionMode == OCI_DEFAULT
        || sessionMode == OCI_SYSOPER
        || sessionMode == OCI_SYSDBA) {
      throw new UnimplementedException("oci_connect with session mode");
    }

    return connectInternal(env, true, username, password, db,
                           charset, sessionMode);
  }
View Full Code Here

  {
    if (stmt == null)
      return null;

    if (mode == OCI_RETURN_LOBS)
      throw new UnimplementedException("oci_fetch_array with OCI_RETURN_LOBS");

    if (mode == OCI_RETURN_NULLS)
      throw new UnimplementedException("oci_fetch_array with OCI_RETURN_NULLS");

    try {

      JdbcResultResource resource
        = new JdbcResultResource(env, null, stmt.getResultSet(), null, "UTF-8" /* XXX */);
 
View Full Code Here

 
  public void setISODate(int year,
                         int week, //yes, week, not month
                         @Optional int day)
  {
    throw new UnimplementedException("DateTime::setISODate()");
  }
View Full Code Here

    return _timeZone.getOffset(dateTime.getTime()) / 1000L;
  }

  public Value getTransitions()
  {
    throw new UnimplementedException("DateTimeZone->getTransitions()");
  }
View Full Code Here

      // the constant TRUE in assoc_array. It will be converted to the
      // string 'TRUE' which is no valid entry for boolean fields in
      // PostgreSQL. Use one of t, true, 1, y, yes instead.

      if (options > 0) {
        throw new UnimplementedException("pg_convert with options");
      }

      Connection jdbcConn = conn.getJavaConnection();
      DatabaseMetaData dbMetaData = jdbcConn.getMetaData();
View Full Code Here

      if (delimiter.equals("")) {
        delimiter = "\t";
        delimiterRegex = "\\t";
      } else {
        // XXX: even the native php version does not seem to do it very well.
        throw new UnimplementedException("pg_copy_from with non-default delimiter");
      }

      if (nullAs.equals("")) {
        nullAs = "\\N";
      } else {
        // XXX: even the native php version does not seem to do it very well.
        throw new UnimplementedException("pg_copy_from with non-default nullAs");
      }

      ArrayValueImpl array = (ArrayValueImpl) rows;
      int size = array.size();
View Full Code Here

    try {
      if (conn == null)
        return false;

      if (options > 0) {
        throw new UnimplementedException("pg_delete with options");
      }

      StringBuilder condition = new StringBuilder();

      boolean isFirst = true;
View Full Code Here

    try {
      if (conn == null)
        return null;
     
      if (resultType > 0) {
        throw new UnimplementedException("pg_get_notify with result type");
      }

      // org.postgresql.PGConnection
      Class<?> cl = Class.forName("org.postgresql.PGConnection");
View Full Code Here

TOP

Related Classes of com.caucho.quercus.UnimplementedException

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.