field.sqldata = field.encodeString(value,javaEncoding);
field.sqldata = value;
    void setBytes(byte[] value) throws SQLException {        if (value == null) {            field.sqldata = null;            return;        }        field.sqldata = field.encodeString(value,javaEncoding);        if (field.sqldata.length > field.sqllen)            throw new DataTruncation(-1, true, false, field.sqldata.length, field.sqllen);    }