result[i] = true;
result[i] = PARAMETER_USED;
    private boolean[] getParameterMask() throws SQLException {        // loop through the "best row identifiers" and set appropriate falgs.        FBDatabaseMetaData metaData = new FBDatabaseMetaData(gdsHelper);                ResultSet bestRowIdentifier = metaData.getBestRowIdentifier(            "", "", tableName, DatabaseMetaData.bestRowSession, true);        try {            boolean[] result = new boolean[xsqlvars.length];            boolean hasParams = false;            while(bestRowIdentifier.next()) {                String columnName = bestRowIdentifier.getString(2);                                if (columnName == null)                    continue;                                boolean found = false;                for (int i = 0; i < xsqlvars.length; i++) {                                        if (columnName.equals(xsqlvars[i].sqlname)) {                        result[i] = true;                        found = true;                    }                }                                // if we did not found a column from the best row identifier                // in our result set, throw an exception, since we cannot                // reliably identify the row.                if (!found)                    throw new FBResultSetNotUpdatableException(                        "Underlying result set does not contain all columns " +                        "that form 'best row identifier'.");                else                    hasParams = true;            }                        if (!hasParams)                throw new FBResultSetNotUpdatableException(                    "No columns that can be used in WHERE clause could be " +                    "found.");                        return result;        } finally {            bestRowIdentifier.close();        }    }