src/share/classes/javax/sql/rowset/BaseRowSet.java

Print this page

        

*** 68,78 **** * <LI> <b>Streams</b> * <ul> * <li>Fields for storing stream instances * <li>Constants for indicating the type of a stream * </ul> - * <p> * </UL> * * <h3>2.0 Setting Properties</h3> * All rowsets maintain a set of properties, which will usually be set using * a tool. The number and kinds of properties a rowset has will vary, --- 68,77 ----
*** 979,989 **** /** * Sets the concurrency for this <code>RowSet</code> object to * the specified concurrency. The default concurrency for any <code>RowSet</code> * object (connected or disconnected) is <code>ResultSet.CONCUR_UPDATABLE</code>, * but this method may be called at any time to change the concurrency. ! * <P> * @param concurrency one of the following constants: * <code>ResultSet.CONCUR_READ_ONLY</code> or * <code>ResultSet.CONCUR_UPDATABLE</code> * @throws SQLException if the parameter supplied is not one of the * following constants: --- 978,988 ---- /** * Sets the concurrency for this <code>RowSet</code> object to * the specified concurrency. The default concurrency for any <code>RowSet</code> * object (connected or disconnected) is <code>ResultSet.CONCUR_UPDATABLE</code>, * but this method may be called at any time to change the concurrency. ! * * @param concurrency one of the following constants: * <code>ResultSet.CONCUR_READ_ONLY</code> or * <code>ResultSet.CONCUR_UPDATABLE</code> * @throws SQLException if the parameter supplied is not one of the * following constants:
*** 1417,1427 **** * may leverage the fetch size to poll the data source and * retrieve a number of rows that do not exceed the fetch size and that may * form a subset of the actual rows returned by the original query. This is * an implementation variance determined by the specific <code>SyncProvider</code> * object employed by the disconnected <code>RowSet</code> object. - * <P> * * @param rows the number of rows to fetch; <code>0</code> to let the * driver decide what the best fetch size is; must not be less * than <code>0</code> or more than the maximum number of rows * allowed for this <code>RowSet</code> object (the number returned --- 1416,1425 ----
*** 1464,1474 **** * The default is <code>CONCUR_UPDATABLE</code> for both connected and * disconnected <code>RowSet</code> objects. * <P> * An application can call the method <code>setConcurrency</code> at any time * to change a <code>RowSet</code> object's concurrency. ! * <p> * @return the concurrency type for this <code>RowSet</code> * object, which must be one of the following: * <code>ResultSet.CONCUR_READ_ONLY</code> or * <code>ResultSet.CONCUR_UPDATABLE</code> * @throws SQLException if an error occurs getting the concurrency --- 1462,1472 ---- * The default is <code>CONCUR_UPDATABLE</code> for both connected and * disconnected <code>RowSet</code> objects. * <P> * An application can call the method <code>setConcurrency</code> at any time * to change a <code>RowSet</code> object's concurrency. ! * * @return the concurrency type for this <code>RowSet</code> * object, which must be one of the following: * <code>ResultSet.CONCUR_READ_ONLY</code> or * <code>ResultSet.CONCUR_UPDATABLE</code> * @throws SQLException if an error occurs getting the concurrency
*** 1735,1745 **** * provided in any class that extends this class and implements one or * more of the standard JSR-114 <code>RowSet</code> interfaces. * <p> * NOTE: <code>JdbcRowSet</code> does not require the <code>populate</code> method * as it is undefined in this class. ! * <p> * @param parameterIndex the ordinal number of the placeholder parameter * in this <code>RowSet</code> object's command that is to be set. * The first parameter is 1, the second is 2, and so on; must be * <code>1</code> or greater * @param x the parameter value --- 1733,1743 ---- * provided in any class that extends this class and implements one or * more of the standard JSR-114 <code>RowSet</code> interfaces. * <p> * NOTE: <code>JdbcRowSet</code> does not require the <code>populate</code> method * as it is undefined in this class. ! * * @param parameterIndex the ordinal number of the placeholder parameter * in this <code>RowSet</code> object's command that is to be set. * The first parameter is 1, the second is 2, and so on; must be * <code>1</code> or greater * @param x the parameter value
*** 1865,1875 **** * provided in any class that extends this class and implements one or * more of the standard JSR-114 <code>RowSet</code> interfaces. * <P> * NOTE: <code>JdbcRowSet</code> does not require the <code>populate</code> method * as it is undefined in this class. ! * S * @param parameterIndex the ordinal number of the placeholder parameter * in this <code>RowSet</code> object's command that is to be set. * The first parameter is 1, the second is 2, and so on; must be * <code>1</code> or greater * @param x the parameter value --- 1863,1873 ---- * provided in any class that extends this class and implements one or * more of the standard JSR-114 <code>RowSet</code> interfaces. * <P> * NOTE: <code>JdbcRowSet</code> does not require the <code>populate</code> method * as it is undefined in this class. ! * * @param parameterIndex the ordinal number of the placeholder parameter * in this <code>RowSet</code> object's command that is to be set. * The first parameter is 1, the second is 2, and so on; must be * <code>1</code> or greater * @param x the parameter value
*** 1931,1941 **** * provided in any class that extends this class and implements one or * more of the standard JSR-114 <code>RowSet</code> interfaces. * <p> * NOTE: <code>JdbcRowSet</code> does not require the <code>populate</code> method * as it is undefined in this class. ! * <p> * @param parameterIndex the ordinal number of the placeholder parameter * in this <code>RowSet</code> object's command that is to be set. * The first parameter is 1, the second is 2, and so on; must be * <code>1</code> or greater * @param x the parameter value --- 1929,1939 ---- * provided in any class that extends this class and implements one or * more of the standard JSR-114 <code>RowSet</code> interfaces. * <p> * NOTE: <code>JdbcRowSet</code> does not require the <code>populate</code> method * as it is undefined in this class. ! * * @param parameterIndex the ordinal number of the placeholder parameter * in this <code>RowSet</code> object's command that is to be set. * The first parameter is 1, the second is 2, and so on; must be * <code>1</code> or greater * @param x the parameter value
*** 3649,3659 **** * Sets the designated parameter in this <code>RowSet</code> object's command * to a <code>Reader</code> object. The * <code>Reader</code> reads the data till end-of-file is reached. The * driver does the necessary conversion from Java character format to * the national character set in the database. ! * <P><B>Note:</B> This stream object can either be a standard * Java stream object or your own subclass that implements the * standard interface. * <P><B>Note:</B> Consult your JDBC driver documentation to determine if * it might be more efficient to use a version of --- 3647,3657 ---- * Sets the designated parameter in this <code>RowSet</code> object's command * to a <code>Reader</code> object. The * <code>Reader</code> reads the data till end-of-file is reached. The * driver does the necessary conversion from Java character format to * the national character set in the database. ! * * <P><B>Note:</B> This stream object can either be a standard * Java stream object or your own subclass that implements the * standard interface. * <P><B>Note:</B> Consult your JDBC driver documentation to determine if * it might be more efficient to use a version of