FBField field = getField(i + 1); if (field instanceof FBFlushableField) newXsqlvar[i].sqldata = ((FBFlushableField)field).getCachedObject();
    public void addBatch() throws SQLException {        boolean allParamsSet = true;        for (int i = 0; i < isParamSet.length; i++) {            allParamsSet &= isParamSet[i];        }        if (!allParamsSet) throw new FBSQLException("Not all parameters set.");        XSQLVAR[] oldXsqlvar = fixedStmt.getInSqlda().sqlvar;        XSQLVAR[] newXsqlvar = new XSQLVAR[oldXsqlvar.length];        for (int i = 0; i < newXsqlvar.length; i++) {            newXsqlvar[i] = oldXsqlvar[i].deepCopy();        }        batchList.add(newXsqlvar);    }