Lines Matching defs:row

99      * object that form a unique identifier for a row. This array
132 * For example, suppose that the cursor is on the last row of a rowset
155 * A special row used for constructing a new row. A new
156 * row is constructed by using <code>ResultSet.updateXXX</code>
157 * methods to insert column values into the insert row.
164 * currently on the insert row.
171 * cursor before it moved to the insert row, thus preserving
172 * the number of the current row to which the cursor may return.
377 // insert row setup
615 * @throws SQLException if an error occurs; or the max row setting is
654 + "setting has exceeded max row setting"));
835 * Propagates all row update, insert, and delete changes to the
846 * When an exception is thrown, the current row
847 * is set to the first "updated" row that resulted in an exception
848 * unless the row that caused the exception is a "deleted" row.
850 * the current row is not affected.
857 * @throws SQLException if the cursor is on the insert row or the underlying
919 * Propagates all row update, insert, and delete changes to the
932 * @throws SQLException if the cursor is on the insert row or the underlying
951 * Before returning, this method moves the cursor before the first row
996 * Cancels deletion of the current row and notifies listeners that
997 * a row has changed.
1002 * @throws SQLException if the cursor is not on a valid row
1008 // make sure we are on a row
1025 * Immediately removes the current row from this
1026 * <code>CachedRowSetImpl</code> object if the row has been inserted, and
1027 * also notifies listeners the a row has changed. An exception is thrown
1028 * if the row is not a row that has been inserted or the cursor is before
1029 * the first row, after the last row, or on the insert row.
1034 * the cursor is not on a valid row,
1035 * or the row has not been inserted
1038 // make sure we are on a row
1058 * row has been modified. This method can be
1059 * called to reverse updates on a all columns until all updates in a row have
1062 * while performing updates to the insert row.
1068 * @throws SQLException if cursor is before the first row, after the last
1069 * row in rowset.
1075 // if on insert row, cancel the insert row
1076 // make the insert row flag,
1077 // cursorPos back to the current row
1080 // else if not on insert row
1278 * each of which is a copy of a row in this
1436 * Moves the cursor down one row from its current position and
1438 * valid row.
1440 * positioned before the first row. The first call to the method
1441 * <code>next</code> moves the cursor to the first row, making it
1442 * the current row; the second call makes the second row the
1443 * current row, and so on.
1445 * <P>If an input stream from the previous row is open, it is
1447 * chain is cleared when a new row is read.
1449 * @return <code>true</code> if the new current row is valid;
1453 * the first row, or after the last row
1473 * row and returns <code>true</code> if the cursor is still in the rowset;
1475 * the last row.
1477 * This method handles the cases where the cursor moves to a row that
1479 * If this rowset shows deleted rows and the cursor moves to a row
1481 * row until the cursor is on a row that has not been deleted.
1490 * @return <code>true</code> if the cursor is on a valid row in this
1491 * rowset; <code>false</code> if it is after the last row
1600 * object is on a row in the rowset and throws an
1605 * or delete a row or that cancel a row update, insert, or delete.
1608 * object is not on a valid row
1644 * Returns the insert row or the current row of this
1659 * Removes the row on which the cursor is positioned.
1665 * row
1675 * Retrieves the value of the designated column in the current row
1686 * insert row, or (3) the designated column does not store an
1697 // make sure the cursor is on a valid row
1713 * Retrieves the value of the designated column in the current row
1724 * insert row, or (3) the designated column does not store an
1733 // make sure the cursor is on a valid row
1765 * Retrieves the value of the designated column in the current row
1776 * insert row, or (3) the designated column does not store an
1788 // make sure the cursor is on a valid row
1808 * Retrieves the value of the designated column in the current row
1819 * insert row, or (3) the designated column does not store an
1831 // make sure the cursor is on a valid row
1852 * Retrieves the value of the designated column in the current row
1863 * insert row, or (3) the designated column does not store an
1874 // make sure the cursor is on a valid row
1895 * Retrieves the value of the designated column in the current row
1906 * insert row, or (3) the designated column does not store an
1918 // make sure the cursor is on a valid row
1938 * Retrieves the value of the designated column in the current row
1949 * insert row, or (3) the designated column does not store an
1961 // make sure the cursor is on a valid row
1981 * Retrieves the value of the designated column in the current row
1992 * insert row, or (3) the designated column does not store an
2005 // make sure the cursor is on a valid row
2025 * Retrieves the value of the designated column in the current row
2042 * the cursor is not on a valid row, or this method fails
2051 // make sure the cursor is on a valid row
2071 * Retrieves the value of the designated column in the current row
2084 * insert row, or (3) the designated column does not store an
2093 // make sure the cursor is on a valid row
2104 * Retrieves the value of the designated column in the current row
2115 * the cursor is not on a valid row, or this method fails
2122 // make sure the cursor is on a valid row
2169 * Retrieves the value of the designated column in the current row
2179 * the cursor is not on a valid row, or this method fails
2186 // make sure the cursor is on a valid row
2232 * Retrieves the value of the designated column in the current row
2242 * the cursor is not on a valid row, or this method fails
2249 // make sure the cursor is on a valid row
2299 * Retrieves the value of the designated column in the current row of this
2322 * insert row, or (3) the designated column does not store an
2337 //make sure the cursor is on a vlid row
2386 // make sure the cursor is on a valid row
2406 * Retrieves the value of the designated column in the current row of this
2429 * insert row, or (3) the designated column does not store an
2442 // make sure the cursor is on a valid row
2466 * of the current row as a <code>String</code> object.
2474 * this rowset's rows or its insert row, or (3) the designated
2486 * of the current row as a <code>boolean</code> value.
2495 * this rowset's rows or its insert row, or (3) the designated
2505 * of the current row as a <code>byte</code> value.
2513 * this rowset's rows or its insert row, or (3) the designated
2525 * of the current row as a <code>short</code> value.
2533 * this rowset's rows or its insert row, or (3) the designated
2546 * of the current row as an <code>int</code> value.
2555 * insert row, or (3) the designated column does not store an
2567 * of the current row as a <code>long</code> value.
2575 * this rowset's rows or its insert row, or (3) the designated
2588 * of the current row as a <code>float</code> value.
2596 * this rowset's rows or its insert row, or (3) the designated
2609 * of the current row of this <code>CachedRowSetImpl</code> object
2618 * this rowset's rows or its insert row, or (3) the designated
2631 * of the current row as a <code>java.math.BigDecimal</code> object.
2640 * this rowset's rows or its insert row, or (3) the designated
2655 * of the current row as a <code>byte</code> array.
2664 * this rowset's rows or its insert row, or (3) the designated
2676 * of the current row as a <code>java.sql.Date</code> object.
2684 * this rowset's rows or its insert row, or (3) the designated
2694 * of the current row as a <code>java.sql.Time</code> object.
2702 * this rowset's rows or its insert row
2710 * of the current row as a <code>java.sql.Timestamp</code> object.
2718 * this rowset's rows or its insert row
2725 * Retrieves the value of the designated column in the current row of this
2747 * insert row, or (3) the designated column does not store an
2777 * this rowset's rows or its insert row
2785 * Retrieves the value of the designated column in the current row of this
2806 * insert row, or (3) the designated column does not store an
2826 * row is read.
2854 * named. The current row of a <code>ResultSet</code> can be updated or deleted
2863 * SQL cursor used by a <code>ResultSet</code> object. The current row
2864 * of a result set is also the current row of this SQL cursor.
2909 * Retrieves the value of the designated column in the current row
2936 * the cursor is not on a valid row, or there is a problem getting
2946 // make sure the cursor is on a valid row
2987 * Retrieves the value of the designated column in the current row
3014 * on a valid row, or (3) there is a problem getting
3047 * of the current row as a <code>java.io.Reader</code> object.
3062 * insert row, or (3) the designated column does not store an
3072 // make sure the cursor is on a valid row
3099 * of the current row as a <code>java.io.Reader</code> object.
3112 * this rowset's rows or its insert row, or (3) the designated
3122 * Retrieves the value of the designated column in the current row
3133 * insert row, or (3) the designated column does not store an
3145 // make sure the cursor is on a valid row
3165 * Retrieves the value of the designated column in the current row
3175 * this rowset's rows or its insert row, or (3) the designated
3201 * Indicates whether the cursor is before the first row in this
3204 * @return <code>true</code> if the cursor is before the first row;
3217 * Indicates whether the cursor is after the last row in this
3220 * @return <code>true</code> if the cursor is after the last row;
3233 * Indicates whether the cursor is on the first row in this
3236 * @return <code>true</code> if the cursor is on the first row;
3255 * Indicates whether the cursor is on the last row in this
3259 * because the JDBC driver might need to fetch ahead one row in order
3260 * to determine whether the current row is the last row in this rowset.
3262 * @return <code>true</code> if the cursor is on the last row;
3285 * the rowset, just before the first row. This method has no effect if
3302 * the rowset, just after the last row. This method has no effect if
3316 * Moves this <code>CachedRowSetImpl</code> object's cursor to the first row
3320 * @return <code>true</code> if the cursor is on a valid row;
3340 * row and returns <code>true</code> if the operation is successful.
3345 * handle the case where the first row is a deleted row that is not visible.
3350 * @return <code>true</code> if the cursor moved to the first row;
3375 * Moves this <code>CachedRowSetImpl</code> object's cursor to the last row
3379 * @return <code>true</code> if the cursor is on a valid row;
3399 * row and returns <code>true</code> if the operation is successful.
3404 * last row is a deleted row that is not visible by in turn calling
3410 * @return <code>true</code> if the cursor moved to the last row;
3433 * Returns the number of the current row in this <code>CachedRowSetImpl</code>
3434 * object. The first row is number 1, the second number 2, and so on.
3436 * @return the number of the current row; <code>0</code> if there is no
3437 * current row
3442 // are we on a valid row? Valid rows are between first and last
3456 * Moves this <code>CachedRowSetImpl</code> object's cursor to the row number
3459 * <p>If the number is positive, the cursor moves to an absolute row with
3460 * respect to the beginning of the rowset. The first row is row 1, the second
3461 * is row 2, and so on. For example, the following command, in which
3463 * to the fourth row, starting from the beginning of the rowset.
3470 * If the number is negative, the cursor moves to an absolute row position
3472 * <code>absolute(-1)</code> positions the cursor on the last row,
3473 * <code>absolute(-2)</code> moves it on the next-to-last row, and so on.
3475 * the following command moves the cursor to the fourth-to-last row, which
3476 * in the case of a rowset with five rows, is also the second row, counting
3485 * will move to the position after the last row. If the number specified
3486 * would move the cursor one or more rows before the first row, the cursor
3487 * moves to the position before the first row.
3493 * @param row a positive number to indicate the row, starting row numbering from
3494 * the first row, which is <code>1</code>; a negative number to indicate
3495 * the row, starting row numbering from the last row, which is
3502 public boolean absolute( int row ) throws SQLException {
3503 if (row == 0 || getType() == ResultSet.TYPE_FORWARD_ONLY) {
3507 if (row > 0) { // we are moving foward
3508 if (row > numRows) {
3517 if (cursorPos + row < 0) {
3527 // Now move towards the absolute row that we're looking for
3528 while (absolutePos != row) {
3529 if (absolutePos < row) {
3554 * rows toward the end of the rowset, starting at the current row.
3557 * moves the cursor forward four rows from the current row. If the
3558 * current row is 50, the cursor would move to row 54.
3566 * the specified number of rows, starting at the current row.
3568 * <code>absolute(-1)</code> positions the cursor on the last row,
3569 * <code>absolute(-2)</code> moves it on the next-to-last row, and so on.
3571 * the following command moves the cursor to the fourth-to-last row, which
3572 * in the case of a rowset with five rows, is also the second row
3581 * will move to the position after the last row. If the number specified
3582 * would move the cursor one or more rows before the first row, the cursor
3583 * moves to the position before the first row. In both cases, this method
3592 * the cursor, starting at the current row; a positive number
3596 * @return <code>true</code> if the cursor is on a row in this
3600 * positioned either before the first row or after the last row, or
3645 * previous row and returns <code>true</code> if the cursor is on
3646 * a valid row or <code>false</code> if it is not.
3653 * row, from after the last row, or from the current row, whereas
3654 * <code>relative</code> may only be called from the current row.
3657 * loop to iterate through a rowset starting after the last row
3663 * after the last row so that the first call to the method
3677 * on a row in the rowset, before the first row, or after the last row.
3679 * @return <code>true</code> if the cursor is on a valid row;
3680 * <code>false</code> if it is before the first row or after the
3681 * last row
3705 * Moves the cursor to the previous row in this <code>CachedRowSetImpl</code>
3707 * <code>true</code> if the cursor is on a row in this rowset and
3708 * <code>false</code> when the cursor goes before the first row.
3715 * @return <code>true</code> if the cursor is on a row in this rowset;
3717 * the first row
3737 * over multiple rows, the absolute postion moves one one row
3753 * Indicates whether the current row of this <code>CachedRowSetImpl</code>
3758 * @return <code>true</code> if the row has been visibly updated
3761 * @throws SQLException if the cursor is on the insert row or not
3762 * not on a valid row
3767 // make sure the cursor is on a valid row
3776 * Indicates whether the designated column of the current row of
3785 * @throws SQLException if the cursor is on the insert row or not
3786 * on a valid row
3790 // make sure the cursor is on a valid row
3799 * Indicates whether the designated column of the current row of
3809 * @throws SQLException if the cursor is on the insert row or not
3810 * on a valid row
3818 * Indicates whether the current row has been inserted. The value returned
3821 * @return <code>true</code> if a row has been inserted and inserts are detected;
3823 * @throws SQLException if the cursor is on the insert row or not
3824 * not on a valid row
3829 // make sure the cursor is on a valid row
3838 * Indicates whether the current row has been deleted. A deleted row
3844 * @return <code>true</code> if (1)the current row is blank, indicating that
3845 * the row has been deleted, and (2)deletions are detected;
3847 * @throws SQLException if the cursor is on a valid row in this rowset
3851 // make sure the cursor is on a valid row
4190 * Sets the designated nullable column in the current row or the
4191 * insert row of this <code>CachedRowSetImpl</code> object with
4194 * This method updates a column value in the current row or the insert
4195 * row of this rowset; however, another method must be called to complete
4196 * the update process. If the cursor is on a row in the rowset, the
4197 * method {@link #updateRow} must be called to mark the row as updated
4198 * and to notify listeners that the row has changed.
4199 * If the cursor is on the insert row, the method {@link #insertRow}
4200 * must be called to insert the new row into this rowset and to notify
4201 * listeners that a row has changed.
4212 * insert row, or (3) this rowset is
4218 // make sure the cursor is on a valid row
4221 BaseRow row = getCurrentRow();
4222 row.setColumnObject(columnIndex, null);
4227 * Sets the designated column in either the current row or the insert
4228 * row of this <code>CachedRowSetImpl</code> object with the given
4231 * This method updates a column value in the current row or the insert
4232 * row of this rowset, but it does not update the database.
4233 * If the cursor is on a row in the rowset, the
4235 * If the cursor is on the insert row, the method {@link #insertRow}
4236 * must be called, which will insert the new row into both this rowset
4238 * cursor moves to another row.
4246 * insert row, or (3) this rowset is
4252 // make sure the cursor is on a valid row
4262 * Sets the designated column in either the current row or the insert
4263 * row of this <code>CachedRowSetImpl</code> object with the given
4266 * This method updates a column value in the current row or the insert
4267 * row of this rowset, but it does not update the database.
4268 * If the cursor is on a row in the rowset, the
4270 * If the cursor is on the insert row, the method {@link #insertRow}
4271 * must be called, which will insert the new row into both this rowset
4273 * cursor moves to another row.
4281 * insert row, or (3) this rowset is
4287 // make sure the cursor is on a valid row
4298 * Sets the designated column in either the current row or the insert
4299 * row of this <code>CachedRowSetImpl</code> object with the given
4302 * This method updates a column value in the current row or the insert
4303 * row of this rowset, but it does not update the database.
4304 * If the cursor is on a row in the rowset, the
4306 * If the cursor is on the insert row, the method {@link #insertRow}
4307 * must be called, which will insert the new row into both this rowset
4309 * cursor moves to another row.
4317 * insert row, or (3) this rowset is
4323 // make sure the cursor is on a valid row
4334 * Sets the designated column in either the current row or the insert
4335 * row of this <code>CachedRowSetImpl</code> object with the given
4338 * This method updates a column value in the current row or the insert
4339 * row of this rowset, but it does not update the database.
4340 * If the cursor is on a row in the rowset, the
4342 * If the cursor is on the insert row, the method {@link #insertRow}
4343 * must be called, which will insert the new row into both this rowset
4345 * cursor moves to another row.
4353 * insert row, or (3) this rowset is
4359 // make sure the cursor is on a valid row
4369 * Sets the designated column in either the current row or the insert
4370 * row of this <code>CachedRowSetImpl</code> object with the given
4373 * This method updates a column value in the current row or the insert
4374 * row of this rowset, but it does not update the database.
4375 * If the cursor is on a row in the rowset, the
4377 * If the cursor is on the insert row, the method {@link #insertRow}
4378 * must be called, which will insert the new row into both this rowset
4380 * cursor moves to another row.
4388 * insert row, or (3) this rowset is
4394 // make sure the cursor is on a valid row
4406 * Sets the designated column in either the current row or the insert
4407 * row of this <code>CachedRowSetImpl</code> object with the given
4410 * This method updates a column value in the current row or the insert
4411 * row of this rowset, but it does not update the database.
4412 * If the cursor is on a row in the rowset, the
4414 * If the cursor is on the insert row, the method {@link #insertRow}
4415 * must be called, which will insert the new row into both this rowset
4417 * cursor moves to another row.
4425 * insert row, or (3) this rowset is
4431 // make sure the cursor is on a valid row
4442 * Sets the designated column in either the current row or the insert
4443 * row of this <code>CachedRowSetImpl</code> object with the given
4446 * This method updates a column value in either the current row or
4447 * the insert row of this rowset, but it does not update the
4448 * database. If the cursor is on a row in the rowset, the
4450 * If the cursor is on the insert row, the method {@link #insertRow}
4451 * must be called, which will insert the new row into both this rowset
4453 * cursor moves to another row.
4461 * insert row, or (3) this rowset is
4467 // make sure the cursor is on a valid row
4477 * Sets the designated column in either the current row or the insert
4478 * row of this <code>CachedRowSetImpl</code> object with the given
4481 * This method updates a column value in the current row or the insert
4482 * row of this rowset, but it does not update the database.
4483 * If the cursor is on a row in the rowset, the
4485 * If the cursor is on the insert row, the method {@link #insertRow}
4486 * must be called, which will insert the new row into both this rowset
4488 * cursor moves to another row.
4496 * insert row, or (3) this rowset is
4502 // make sure the cursor is on a valid row
4513 * Sets the designated column in either the current row or the insert
4514 * row of this <code>CachedRowSetImpl</code> object with the given
4517 * This method updates a column value in either the current row or
4518 * the insert row of this rowset, but it does not update the
4519 * database. If the cursor is on a row in the rowset, the
4520 * method {@link #updateRow} must be called to mark the row as updated.
4521 * If the cursor is on the insert row, the method {@link #insertRow}
4522 * must be called to insert the new row into this rowset and mark it
4524 * cursor moves to another row.
4535 * insert row, or (3) this rowset is
4541 // make sure the cursor is on a valid row
4548 * Sets the designated column in either the current row or the insert
4549 * row of this <code>CachedRowSetImpl</code> object with the given
4552 * This method updates a column value in either the current row or
4553 * the insert row of this rowset, but it does not update the
4554 * database. If the cursor is on a row in the rowset, the
4556 * If the cursor is on the insert row, the method {@link #insertRow}
4557 * must be called, which will insert the new row into both this rowset
4559 * cursor moves to another row.
4567 * insert row, or (3) this rowset is
4573 // make sure the cursor is on a valid row
4584 * Sets the designated column in either the current row or the insert
4585 * row of this <code>CachedRowSetImpl</code> object with the given
4588 * This method updates a column value in either the current row or
4589 * the insert row of this rowset, but it does not update the
4590 * database. If the cursor is on a row in the rowset, the
4592 * If the cursor is on the insert row, the method {@link #insertRow}
4593 * must be called, which will insert the new row into both this rowset
4595 * cursor moves to another row.
4603 * insert row, (3) the type of the designated column is not
4610 // make sure the cursor is on a valid row
4621 * Sets the designated column in either the current row or the insert
4622 * row of this <code>CachedRowSetImpl</code> object with the given
4625 * This method updates a column value in either the current row or
4626 * the insert row of this rowset, but it does not update the
4627 * database. If the cursor is on a row in the rowset, the
4629 * If the cursor is on the insert row, the method {@link #insertRow}
4630 * must be called, which will insert the new row into both this rowset
4632 * cursor moves to another row.
4640 * insert row, (3) the type of the designated column is not
4647 // make sure the cursor is on a valid row
4658 * Sets the designated column in either the current row or the insert
4659 * row of this <code>CachedRowSetImpl</code> object with the given
4662 * This method updates a column value in either the current row or
4663 * the insert row of this rowset, but it does not update the
4664 * database. If the cursor is on a row in the rowset, the
4666 * If the cursor is on the insert row, the method {@link #insertRow}
4667 * must be called, which will insert the new row into both this rowset
4669 * cursor moves to another row.
4677 * insert row, (3) the type of the designated column is not
4685 // make sure the cursor is on a valid row
4696 * Sets the designated column in either the current row or the insert
4697 * row of this <code>CachedRowSetImpl</code> object with the given
4700 * This method updates a column value in either the current row or
4701 * the insert row of this rowset, but it does not update the
4702 * database. If the cursor is on a row in the rowset, the
4704 * If the cursor is on the insert row, the method {@link #insertRow}
4705 * must be called, which will insert the new row into both this rowset
4707 * cursor moves to another row.
4719 // make sure the cursor is on a valid row
4745 * Sets the designated column in either the current row or the insert
4746 * row of this <code>CachedRowSetImpl</code> object with the given
4749 * This method updates a column value in either the current row or
4750 * the insert row of this rowset, but it does not update the
4751 * database. If the cursor is on a row in the rowset, the
4753 * If the cursor is on the insert row, the method {@link #insertRow}
4754 * must be called, which will insert the new row into both this rowset
4756 * cursor moves to another row.
4767 * insert row, (3) the data in the stream is not binary, or
4773 // make sure the cursor is on a valid row
4794 * Sets the designated column in either the current row or the insert
4795 * row of this <code>CachedRowSetImpl</code> object with the given
4798 * This method updates a column value in either the current row or
4799 * the insert row of this rowset, but it does not update the
4800 * database. If the cursor is on a row in the rowset, the
4802 * If the cursor is on the insert row, the method {@link #insertRow}
4803 * must be called, which will insert the new row into both this rowset
4805 * cursor moves to another row.
4817 * insert row, (3) the data in the stream is not a binary or
4824 // make sure the cursor is on a valid row
4848 * Sets the designated column in either the current row or the insert
4849 * row of this <code>CachedRowSetImpl</code> object with the given
4855 * This method updates a column value in either the current row or
4856 * the insert row of this rowset, but it does not update the
4857 * database. If the cursor is on a row in the rowset, the
4859 * If the cursor is on the insert row, the method {@link #insertRow}
4860 * must be called, which will insert the new row into both this rowset
4862 * cursor moves to another row.
4872 * insert row, or (3) this rowset is
4878 // make sure the cursor is on a valid row
4889 * Sets the designated column in either the current row or the insert
4890 * row of this <code>CachedRowSetImpl</code> object with the given
4893 * This method updates a column value in either the current row or
4894 * the insert row of this rowset, but it does not update the
4895 * database. If the cursor is on a row in the rowset, the
4897 * If the cursor is on the insert row, the method {@link #insertRow}
4898 * must be called, which will insert the new row into both this rowset
4900 * cursor moves to another row.
4908 * insert row, or (3) this rowset is
4914 // make sure the cursor is on a valid row
4921 * Sets the designated nullable column in the current row or the
4922 * insert row of this <code>CachedRowSetImpl</code> object with
4925 * This method updates a column value in the current row or the insert
4926 * row of this rowset, but it does not update the database.
4927 * If the cursor is on a row in the rowset, the
4929 * If the cursor is on the insert row, the method {@link #insertRow}
4930 * must be called, which will insert the new row into both this rowset
4937 * one of this rowset's rows or its insert row, or (3) this
4945 * Sets the designated column in either the current row or the insert
4946 * row of this <code>CachedRowSetImpl</code> object with the given
4949 * This method updates a column value in the current row or the insert
4950 * row of this rowset, but it does not update the database.
4951 * If the cursor is on a row in the rowset, the
4953 * If the cursor is on the insert row, the method {@link #insertRow}
4954 * must be called, which will insert the new row into both this rowset
4956 * cursor moves to another row.
4963 * one of this rowset's rows or its insert row, or (3) this
4971 * Sets the designated column in either the current row or the insert
4972 * row of this <code>CachedRowSetImpl</code> object with the given
4975 * This method updates a column value in the current row or the insert
4976 * row of this rowset, but it does not update the database.
4977 * If the cursor is on a row in the rowset, the
4979 * If the cursor is on the insert row, the method {@link #insertRow}
4980 * must be called, which will insert the new row into both this rowset
4982 * cursor moves to another row.
4989 * one of this rowset's rows or its insert row, or (3) this
4997 * Sets the designated column in either the current row or the insert
4998 * row of this <code>CachedRowSetImpl</code> object with the given
5001 * This method updates a column value in the current row or the insert
5002 * row of this rowset, but it does not update the database.
5003 * If the cursor is on a row in the rowset, the
5005 * If the cursor is on the insert row, the method {@link #insertRow}
5006 * must be called, which will insert the new row into both this rowset
5008 * cursor moves to another row.
5015 * one of this rowset's rows or its insert row, or (3) this
5023 * Sets the designated column in either the current row or the insert
5024 * row of this <code>CachedRowSetImpl</code> object with the given
5027 * This method updates a column value in the current row or the insert
5028 * row of this rowset, but it does not update the database.
5029 * If the cursor is on a row in the rowset, the
5031 * If the cursor is on the insert row, the method {@link #insertRow}
5032 * must be called, which will insert the new row into both this rowset
5034 * cursor moves to another row.
5041 * one of this rowset's rows or its insert row, or (3) this
5049 * Sets the designated column in either the current row or the insert
5050 * row of this <code>CachedRowSetImpl</code> object with the given
5053 * This method updates a column value in the current row or the insert
5054 * row of this rowset, but it does not update the database.
5055 * If the cursor is on a row in the rowset, the
5057 * If the cursor is on the insert row, the method {@link #insertRow}
5058 * must be called, which will insert the new row into both this rowset
5060 * cursor moves to another row.
5067 * one of this rowset's rows or its insert row, or (3) this
5075 * Sets the designated column in either the current row or the insert
5076 * row of this <code>CachedRowSetImpl</code> object with the given
5079 * This method updates a column value in the current row or the insert
5080 * row of this rowset, but it does not update the database.
5081 * If the cursor is on a row in the rowset, the
5083 * If the cursor is on the insert row, the method {@link #insertRow}
5084 * must be called, which will insert the new row into both this rowset
5086 * cursor moves to another row.
5093 * one of this rowset's rows or its insert row, or (3) this
5101 * Sets the designated column in either the current row or the insert
5102 * row of this <code>CachedRowSetImpl</code> object with the given
5105 * This method updates a column value in either the current row or
5106 * the insert row of this rowset, but it does not update the
5107 * database. If the cursor is on a row in the rowset, the
5109 * If the cursor is on the insert row, the method {@link #insertRow}
5110 * must be called, which will insert the new row into both this rowset
5112 * cursor moves to another row.
5119 * one of this rowset's rows or its insert row, or (3) this
5127 * Sets the designated column in either the current row or the insert
5128 * row of this <code>CachedRowSetImpl</code> object with the given
5131 * This method updates a column value in the current row or the insert
5132 * row of this rowset, but it does not update the database.
5133 * If the cursor is on a row in the rowset, the
5135 * If the cursor is on the insert row, the method {@link #insertRow}
5136 * must be called, which will insert the new row into both this rowset
5138 * cursor moves to another row.
5145 * one of this rowset's rows or its insert row, or (3) this
5153 * Sets the designated column in either the current row or the insert
5154 * row of this <code>CachedRowSetImpl</code> object with the given
5157 * This method updates a column value in either the current row or
5158 * the insert row of this rowset, but it does not update the
5159 * database. If the cursor is on a row in the rowset, the
5161 * If the cursor is on the insert row, the method {@link #insertRow}
5162 * must be called, which will insert the new row into both this rowset
5164 * cursor moves to another row.
5171 * one of this rowset's rows or its insert row, or (3) this
5179 * Sets the designated column in either the current row or the insert
5180 * row of this <code>CachedRowSetImpl</code> object with the given
5183 * This method updates a column value in either the current row or
5184 * the insert row of this rowset, but it does not update the
5185 * database. If the cursor is on a row in the rowset, the
5187 * If the cursor is on the insert row, the method {@link #insertRow}
5188 * must be called, which will insert the new row into both this rowset
5190 * cursor moves to another row.
5197 * one of this rowset's rows or its insert row, or (3) this
5205 * Sets the designated column in either the current row or the insert
5206 * row of this <code>CachedRowSetImpl</code> object with the given
5209 * This method updates a column value in either the current row or
5210 * the insert row of this rowset, but it does not update the
5211 * database. If the cursor is on a row in the rowset, the
5213 * If the cursor is on the insert row, the method {@link #insertRow}
5214 * must be called, which will insert the new row into both this rowset
5216 * cursor moves to another row.
5223 * one of this rowset's rows or its insert row, (3) the type
5233 * Sets the designated column in either the current row or the insert
5234 * row of this <code>CachedRowSetImpl</code> object with the given
5237 * This method updates a column value in either the current row or
5238 * the insert row of this rowset, but it does not update the
5239 * database. If the cursor is on a row in the rowset, the
5241 * If the cursor is on the insert row, the method {@link #insertRow}
5242 * must be called, which will insert the new row into both this rowset
5244 * cursor moves to another row.
5251 * one of this rowset's rows or its insert row, (3) the type
5261 * Sets the designated column in either the current row or the insert
5262 * row of this <code>CachedRowSetImpl</code> object with the given
5265 * This method updates a column value in either the current row or
5266 * the insert row of this rowset, but it does not update the
5267 * database. If the cursor is on a row in the rowset, the
5269 * If the cursor is on the insert row, the method {@link #insertRow}
5270 * must be called, which will insert the new row into both this rowset
5272 * cursor moves to another row.
5279 * insert row
5282 * one of this rowset's rows or its insert row, (3) the type
5292 * Sets the designated column in either the current row or the insert
5293 * row of this <code>CachedRowSetImpl</code> object with the given
5296 * This method updates a column value in either the current row or
5297 * the insert row of this rowset, but it does not update the
5298 * database. If the cursor is on a row in the rowset, the
5300 * If the cursor is on the insert row, the method {@link #insertRow}
5301 * must be called, which will insert the new row into both this rowset
5303 * cursor moves to another row.
5317 * Sets the designated column in either the current row or the insert
5318 * row of this <code>CachedRowSetImpl</code> object with the given
5321 * This method updates a column value in either the current row or
5322 * the insert row of this rowset, but it does not update the
5323 * database. If the cursor is on a row in the rowset, the
5325 * If the cursor is on the insert row, the method {@link #insertRow}
5326 * must be called, which will insert the new row into both this rowset
5328 * cursor moves to another row.
5338 * one of this rowset's rows or its insert row, (3) the data
5347 * Sets the designated column in either the current row or the insert
5348 * row of this <code>CachedRowSetImpl</code> object with the given
5351 * This method updates a column value in either the current row or
5352 * the insert row of this rowset, but it does not update the
5353 * database. If the cursor is on a row in the rowset, the
5355 * If the cursor is on the insert row, the method {@link #insertRow}
5356 * must be called, which will insert the new row into both this rowset
5358 * cursor moves to another row.
5369 * one of this rowset's rows or its insert row, (3) the data
5380 * Sets the designated column in either the current row or the insert
5381 * row of this <code>CachedRowSetImpl</code> object with the given
5387 * This method updates a column value in either the current row or
5388 * the insert row of this rowset, but it does not update the
5389 * database. If the cursor is on a row in the rowset, the
5391 * If the cursor is on the insert row, the method {@link #insertRow}
5392 * must be called, which will insert the new row into both this rowset
5394 * cursor moves to another row.
5403 * one of this rowset's rows or its insert row, or (3) this
5411 * Sets the designated column in either the current row or the insert
5412 * row of this <code>CachedRowSetImpl</code> object with the given
5415 * This method updates a column value in either the current row or
5416 * the insert row of this rowset, but it does not update the
5417 * database. If the cursor is on a row in the rowset, the
5419 * If the cursor is on the insert row, the method {@link #insertRow}
5420 * must be called, which will insert the new row into both this rowset
5422 * cursor moves to another row.
5429 * one of this rowset's rows or its insert row, or (3) this
5438 * row into this rowset immediately following the current row.
5439 * If the current row is the
5440 * position after the last row or before the first row, the new row will
5442 * listeners registered with this rowset that the row has changed.
5444 * The cursor must be on the insert row when this method is called.
5446 * @throws SQLException if (1) the cursor is not on the insert row,
5448 * row has not been given a value, or (3) this rowset is
5471 * The new row is inserted into the RowSet
5472 * immediately following the current row.
5485 // notify the listeners that the row changed.
5490 * Marks the current row of this <code>CachedRowSetImpl</code> object as
5492 * row has changed.
5494 * This method cannot be called when the cursor is on the insert row, and
5495 * it should be called before the cursor moves to another row. If it is
5496 * called after the cursor moves to another row, this method has no effect,
5499 * @throws SQLException if the cursor is on the insert row or this
5503 // make sure we aren't on the insert row
5510 // notify the listeners that the row changed.
5515 * Deletes the current row from this <code>CachedRowSetImpl</code> object and
5516 * notifies listeners registered with this rowset that a row has changed.
5517 * This method cannot be called when the cursor is on the insert row.
5519 * This method marks the current row as deleted, but it does not delete
5520 * the row from the underlying data source. The method
5521 * <code>acceptChanges</code> must be called to delete the row in
5525 * is on the insert row, before the first row, or after the
5526 * last row or (2) this rowset is
5530 // make sure the cursor is on a valid row
5536 // notify the listeners that the row changed.
5541 * Sets the current row with its original value and marks the row as
5542 * not updated, thus undoing any changes made to the row since the
5544 * This method should be called only when the cursor is on a row in
5547 * @throws SQLException if the cursor is on the insert row, before the
5548 * first row, or after the last row
5551 // make sure we are on a row
5560 // just undo any changes made to this row.
5566 * Rolls back any updates made to the current row of this
5568 * a row has changed. To have an effect, this method
5574 * @throws SQLException if the cursor is on the insert row, before the
5575 * first row, or after the last row
5578 // make sure we are on a row
5595 * to the insert row. The current row in the rowset is remembered
5596 * while the cursor is on the insert row.
5598 * The insert row is a special row associated with an updatable
5599 * rowset. It is essentially a buffer where a new row may
5601 * methods to assign a value to each column in the row. A complete
5602 * row must be constructed; that is, every column that is not nullable
5603 * must be assigned a value. In order for the new row to become part
5608 * row; many methods throw an exception if they are called while the
5611 * may be called when the cursor is on the insert row. A <code>getXXX</code>
5644 * the current row. The current row is the row the cursor was on
5648 * cursor is on the insert row.
5687 * insert row
5697 // make sure the cursor is on a valid row
5748 * insert row, or (3) the designated column does not store an
5757 // make sure the cursor is on a valid row
5787 * insert row, or (3) the designated column does not store an
5796 // make sure the cursor is on a valid row
5827 * insert row, or (3) the designated column does not store an
5836 // make sure the cursor is on a valid row
5868 * insert row, or (3) the designated column does not store an
5877 // make sure the cursor is on a valid row
5911 * this rowset's rows or its insert row
5929 * this rowset's rows or its insert row, or (3) the column value
5947 * this rowset's rows or its insert row, or (3) the designated
5966 * this rowset's rows or its insert row, or (3) the designated
5985 * this rowset's rows or its insert row, or (3) the designated
5994 * Retrieves the value of the designated column in the current row
6008 * this rowset's rows or its insert row, or (3) the designated
6017 // make sure the cursor is on a valid row
6055 * Retrieves the value of the designated column in the current row
6068 * this rowset's rows or its insert row, or (3) the designated
6077 * Retrieves the value of the designated column in the current row
6091 * this rowset's rows or its insert row, or (3) the designated
6100 // make sure the cursor is on a valid row
6134 * Retrieves the value of the designated column in the current row
6147 * this rowset's rows or its insert row, or (3) the designated
6156 * Retrieves the value of the designated column in the current row
6170 * this rowset's rows or its insert row, or (3) the designated
6179 // make sure the cursor is on a valid row
6216 * Retrieves the value of the designated column in the current row
6230 * this rowset's rows or its insert row, or (3) the designated
6275 * The cursor is positioned before the first row in the result set.
6305 * row only.
6310 * @return the original result set of the row
6311 * @throws SQLException if there is no current row
6336 * Marks the current row in this rowset as being an original row.
6338 * @throws SQLException if there is no current row
6346 Row row = (Row)getCurrentRow();
6347 makeRowOriginal(row);
6350 if (row.getDeleted() == true) {
6356 * Makes the given row of this rowset the original row by clearing any
6357 * settings that mark the row as having been inserted, deleted, or updated.
6362 * @param row the row to be made the original row
6364 private void makeRowOriginal(Row row) {
6365 if (row.getInserted() == true) {
6366 row.clearInserted();
6369 if (row.getUpdated() == true) {
6370 row.moveCurrentToOrig();
6383 Row row = (Row)i.next();
6384 makeRowOriginal(row);
6386 if (row.getDeleted() == true) {
6427 * row in this <code>CachedRowSetImpl</code> object.
6444 * numbers, which forms a key for uniquely identifying a row
6476 * Sets the designated column in either the current row or the insert
6477 * row of this <code>CachedRowSetImpl</code> object with the given
6480 * This method updates a column value in either the current row or
6481 * the insert row of this rowset, but it does not update the
6482 * database. If the cursor is on a row in the rowset, the
6484 * If the cursor is on the insert row, the method {@link #insertRow}
6485 * must be called, which will insert the new row into both this rowset
6487 * cursor moves to another row.
6495 * insert row, or (3) this rowset is
6501 // make sure the cursor is on a valid row
6511 * Sets the designated column in either the current row or the insert
6512 * row of this <code>CachedRowSetImpl</code> object with the given
6515 * This method updates a column value in either the current row or
6516 * the insert row of this rowset, but it does not update the
6517 * database. If the cursor is on a row in the rowset, the
6519 * If the cursor is on the insert row, the method {@link #insertRow}
6520 * must be called, which will insert the new row into both this rowset
6522 * cursor moves to another row.
6529 * one of this rowset's rows or its insert row, or (3) this
6537 * Sets the designated column in either the current row or the insert
6538 * row of this <code>CachedRowSetImpl</code> object with the given
6541 * This method updates a column value in either the current row or
6542 * the insert row of this rowset, but it does not update the
6543 * database. If the cursor is on a row in the rowset, the
6545 * If the cursor is on the insert row, the method {@link #insertRow}
6546 * must be called, which will insert the new row into both this rowset
6548 * cursor moves to another row.
6556 * insert row, or (3) this rowset is
6562 // make sure the cursor is on a valid row
6578 * Sets the designated column in either the current row or the insert
6579 * row of this <code>CachedRowSetImpl</code> object with the given
6582 * This method updates a column value in either the current row or
6583 * the insert row of this rowset, but it does not update the
6584 * database. If the cursor is on a row in the rowset, the
6586 * If the cursor is on the insert row, the method {@link #insertRow}
6587 * must be called, which will insert the new row into both this rowset
6589 * cursor moves to another row.
6596 * one of this rowset's rows or its insert row, or (3) this
6604 * Sets the designated column in either the current row or the insert
6605 * row of this <code>CachedRowSetImpl</code> object with the given
6608 * This method updates a column value in either the current row or
6609 * the insert row of this rowset, but it does not update the
6610 * database. If the cursor is on a row in the rowset, the
6612 * If the cursor is on the insert row, the method {@link #insertRow}
6613 * must be called, which will insert the new row into both this rowset
6615 * cursor moves to another row.
6623 * insert row, or (3) this rowset is
6629 // make sure the cursor is on a valid row
6645 * Sets the designated column in either the current row or the insert
6646 * row of this <code>CachedRowSetImpl</code> object with the given
6649 * This method updates a column value in either the current row or
6650 * the insert row of this rowset, but it does not update the
6651 * database. If the cursor is on a row in the rowset, the
6653 * If the cursor is on the insert row, the method {@link #insertRow}
6654 * must be called, which will insert the new row into both this rowset
6656 * cursor moves to another row.
6663 * one of this rowset's rows or its insert row, or (3) this
6671 * Sets the designated column in either the current row or the insert
6672 * row of this <code>CachedRowSetImpl</code> object with the given
6675 * This method updates a column value in either the current row or
6676 * the insert row of this rowset, but it does not update the
6677 * database. If the cursor is on a row in the rowset, the
6679 * If the cursor is on the insert row, the method {@link #insertRow}
6680 * must be called, which will insert the new row into both this rowset
6682 * cursor moves to another row.
6690 * insert row, or (3) this rowset is
6696 // make sure the cursor is on a valid row
6706 * Sets the designated column in either the current row or the insert
6707 * row of this <code>CachedRowSetImpl</code> object with the given
6710 * This method updates a column value in either the current row or
6711 * the insert row of this rowset, but it does not update the
6712 * database. If the cursor is on a row in the rowset, the
6714 * If the cursor is on the insert row, the method {@link #insertRow}
6715 * must be called, which will insert the new row into both this rowset
6717 * cursor moves to another row.
6724 * one of this rowset's rows or its insert row, or (3) this
6741 * insert row, or (3) the designated column does not store an
6752 // make sure the cursor is on a valid row
6781 * insert row, or (3) the designated column does not store an
6799 * row is read.
7234 * @throws SQLException if an error occurs; or the max row setting is
7331 + "setting has exceeded max row setting"));
7338 + "setting has exceeded max row setting"));
7684 * Sets the status for the row on which the cursor is positioned. The insertFlag is used
7685 * to mention the toggle status for this row
7686 * @param insertFlag if it is true - marks this row as inserted
7687 * if it is false - marks it as not a newly inserted row
7728 * Retrieves the value of the designated column in the current row of this
7743 * Retrieves the value of the designated column in the current row of this
7759 * methods are used to update column values in the current row or the insert
7760 * row. The updater methods do not update the underlying database; instead
7775 * methods are used to update column values in the current row or the insert
7776 * row. The updater methods do not update the underlying database; instead
7860 * Retrieves the value of the designated column in the current row
7876 * Retrieves the value of the designated column in the current row
7999 * Retrieves the value of the designated column in the current row
8019 * Retrieves the value of the designated column in the current row
8041 * methods are used to update column values in the current row or the insert
8042 * row. The updater methods do not update the underlying database; instead
8057 * methods are used to update column values in the current row or the insert
8058 * row. The updater methods do not update the underlying database; instead
8072 * Retrieves the value of the designated column in the current row
8090 * Retrieves the value of the designated column in the current row
8112 * The updater methods are used to update column values in the current row or
8113 * the insert row. The updater methods do not update the underlying database;
8134 * The updater methods are used to update column values in the current row or
8135 * the insert row. The updater methods do not update the underlying database;
8160 * current row or the insert row. The updater methods do not
8190 * current row or the insert row. The updater methods do not
8229 * current row or the insert row. The updater methods do not
8262 * current row or the insert row. The updater methods do not
8298 * current row or the insert row. The updater methods do not
8332 * current row or the insert row. The updater methods do not
8365 * current row or the insert row. The updater methods do not
8397 * current row or the insert row. The updater methods do not
8432 * current row or the insert row. The updater methods do not
8466 * current row or the insert row. The updater methods do not
8498 * current row or the insert row. The updater methods do not
8532 * current row or the insert row. The updater methods do not
8569 * current row or the insert row. The updater methods do not
8605 * current row or the insert row. The updater methods do not
8629 * current row or the insert row. The updater methods do not
8653 * current row or the insert row. The updater methods do not
8676 * current row or the insert row. The updater methods do not
8700 * current row or the insert row. The updater methods do not
8725 * current row or the insert row. The updater methods do not
8748 * current row or the insert row. The updater methods do not
8770 * current row or the insert row. The updater methods do not
8796 * current row or the insert row. The updater methods do not
8822 * current row or the insert row. The updater methods do not
8847 * current row or the insert row. The updater methods do not
8874 * current row or the insert row. The updater methods do not
8899 * current row or the insert row. The updater methods do not