return (type == Types.BLOB);
if (field.sqlsubtype < 0) return (type == Types.BLOB); if (field.sqlsubtype == 1) return (type == Types.LONGVARCHAR); else return (type == Types.LONGVARBINARY) || (type == Types.VARBINARY) || (type == Types.BINARY);
    static boolean isType(XSQLVAR field, int type) {        // turn off null flag, in this case we're not interested in it.        int tempType = field.sqltype & ~1;        switch(tempType) {            case GDS.SQL_ARRAY :                return (type == Types.ARRAY);            case GDS.SQL_BLOB :                return (type == Types.BLOB);            case GDS.SQL_D_FLOAT :                return false; // not supported right now            case GDS.SQL_DOUBLE :                return (type == Types.DOUBLE);            case GDS.SQL_FLOAT :                return (type == Types.FLOAT);            case GDS.SQL_INT64 :                return (type == Types.BIGINT);            case GDS.SQL_LONG :                return  (type == Types.INTEGER);            case GDS.SQL_QUAD:                return false; //not supported right now            case GDS.SQL_SHORT:                return (type == Types.SMALLINT);            case GDS.SQL_TEXT:                return (type == Types.CHAR);            case GDS.SQL_TIMESTAMP:                return (type == Types.TIMESTAMP);            case GDS.SQL_TYPE_DATE:                return (type == Types.DATE);            case GDS.SQL_TYPE_TIME:                return (type == Types.TIME);            case GDS.SQL_VARYING:                return (type == Types.VARCHAR);            default:                return false;        }    }