src/share/classes/com/sun/rowset/CachedRowSetImpl.java

Print this page
rev 10048 : 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
Reviewed-by:

*** 7695,7705 **** * Retrieves the value of the designated <code>SQL XML</code> parameter as a * <code>SQLXML</code> object in the Java programming language. * @param columnIndex the first column is 1, the second is 2, ... * @return a SQLXML object that maps an SQL XML value * @throws SQLException if a database access error occurs ! * @since 6.0 */ public SQLXML getSQLXML(int columnIndex) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } --- 7695,7705 ---- * Retrieves the value of the designated <code>SQL XML</code> parameter as a * <code>SQLXML</code> object in the Java programming language. * @param columnIndex the first column is 1, the second is 2, ... * @return a SQLXML object that maps an SQL XML value * @throws SQLException if a database access error occurs ! * @since 1.6 */ public SQLXML getSQLXML(int columnIndex) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }
*** 7721,7731 **** * * @param columnIndex the first column is 1, the second 2, ... * @return the column value if the value is a SQL <code>NULL</code> the * value returned is <code>null</code> * @throws SQLException if a database access error occurs ! * @since 6.0 */ public RowId getRowId(int columnIndex) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } --- 7721,7731 ---- * * @param columnIndex the first column is 1, the second 2, ... * @return the column value if the value is a SQL <code>NULL</code> the * value returned is <code>null</code> * @throws SQLException if a database access error occurs ! * @since 1.6 */ public RowId getRowId(int columnIndex) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }
*** 7736,7746 **** * * @param columnName the name of the column * @return the column value if the value is a SQL <code>NULL</code> the * value returned is <code>null</code> * @throws SQLException if a database access error occurs ! * @since 6.0 */ public RowId getRowId(String columnName) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } --- 7736,7746 ---- * * @param columnName the name of the column * @return the column value if the value is a SQL <code>NULL</code> the * value returned is <code>null</code> * @throws SQLException if a database access error occurs ! * @since 1.6 */ public RowId getRowId(String columnName) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }
*** 7752,7762 **** * to update the database. * * @param columnIndex the first column is 1, the second 2, ... * @param x the column value * @throws SQLException if a database access occurs ! * @since 6.0 */ public void updateRowId(int columnIndex, RowId x) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } --- 7752,7762 ---- * to update the database. * * @param columnIndex the first column is 1, the second 2, ... * @param x the column value * @throws SQLException if a database access occurs ! * @since 1.6 */ public void updateRowId(int columnIndex, RowId x) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }
*** 7768,7799 **** * to update the database. * * @param columnName the name of the column * @param x the column value * @throws SQLException if a database access occurs ! * @since 6.0 */ public void updateRowId(String columnName, RowId x) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } /** * Retrieves the holdability of this ResultSet object * @return either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT * @throws SQLException if a database error occurs ! * @since 6.0 */ public int getHoldability() throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } /** * Retrieves whether this ResultSet object has been closed. A ResultSet is closed if the * method close has been called on it, or if it is automatically closed. * @return true if this ResultSet object is closed; false if it is still open * @throws SQLException if a database access error occurs ! * @since 6.0 */ public boolean isClosed() throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } --- 7768,7799 ---- * to update the database. * * @param columnName the name of the column * @param x the column value * @throws SQLException if a database access occurs ! * @since 1.6 */ public void updateRowId(String columnName, RowId x) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } /** * Retrieves the holdability of this ResultSet object * @return either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT * @throws SQLException if a database error occurs ! * @since 1.6 */ public int getHoldability() throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } /** * Retrieves whether this ResultSet object has been closed. A ResultSet is closed if the * method close has been called on it, or if it is automatically closed. * @return true if this ResultSet object is closed; false if it is still open * @throws SQLException if a database access error occurs ! * @since 1.6 */ public boolean isClosed() throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }
*** 7801,7811 **** * This method is used for updating columns that support National Character sets. * It can be used for updating NCHAR,NVARCHAR and LONGNVARCHAR columns. * @param columnIndex the first column is 1, the second 2, ... * @param nString the value for the column to be updated * @throws SQLException if a database access error occurs ! * @since 6.0 */ public void updateNString(int columnIndex, String nString) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } --- 7801,7811 ---- * This method is used for updating columns that support National Character sets. * It can be used for updating NCHAR,NVARCHAR and LONGNVARCHAR columns. * @param columnIndex the first column is 1, the second 2, ... * @param nString the value for the column to be updated * @throws SQLException if a database access error occurs ! * @since 1.6 */ public void updateNString(int columnIndex, String nString) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }
*** 7813,7823 **** * This method is used for updating columns that support National Character sets. * It can be used for updating NCHAR,NVARCHAR and LONGNVARCHAR columns. * @param columnName name of the Column * @param nString the value for the column to be updated * @throws SQLException if a database access error occurs ! * @since 6.0 */ public void updateNString(String columnName, String nString) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } --- 7813,7823 ---- * This method is used for updating columns that support National Character sets. * It can be used for updating NCHAR,NVARCHAR and LONGNVARCHAR columns. * @param columnName name of the Column * @param nString the value for the column to be updated * @throws SQLException if a database access error occurs ! * @since 1.6 */ public void updateNString(String columnName, String nString) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }
*** 7826,7836 **** * This method is used for updating SQL <code>NCLOB</code> type that maps * to <code>java.sql.Types.NCLOB</code> * @param columnIndex the first column is 1, the second 2, ... * @param nClob the value for the column to be updated * @throws SQLException if a database access error occurs ! * @since 6.0 */ public void updateNClob(int columnIndex, NClob nClob) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } --- 7826,7836 ---- * This method is used for updating SQL <code>NCLOB</code> type that maps * to <code>java.sql.Types.NCLOB</code> * @param columnIndex the first column is 1, the second 2, ... * @param nClob the value for the column to be updated * @throws SQLException if a database access error occurs ! * @since 1.6 */ public void updateNClob(int columnIndex, NClob nClob) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }
*** 7838,7848 **** * This method is used for updating SQL <code>NCLOB</code> type that maps * to <code>java.sql.Types.NCLOB</code> * @param columnName name of the column * @param nClob the value for the column to be updated * @throws SQLException if a database access error occurs ! * @since 6.0 */ public void updateNClob(String columnName, NClob nClob) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } --- 7838,7848 ---- * This method is used for updating SQL <code>NCLOB</code> type that maps * to <code>java.sql.Types.NCLOB</code> * @param columnName name of the column * @param nClob the value for the column to be updated * @throws SQLException if a database access error occurs ! * @since 1.6 */ public void updateNClob(String columnName, NClob nClob) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }
*** 7853,7863 **** * * @param i the first column is 1, the second is 2, ... * @return a <code>NClob</code> object representing the SQL * <code>NCLOB</code> value in the specified column * @exception SQLException if a database access error occurs ! * @since 6.0 */ public NClob getNClob(int i) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } --- 7853,7863 ---- * * @param i the first column is 1, the second is 2, ... * @return a <code>NClob</code> object representing the SQL * <code>NCLOB</code> value in the specified column * @exception SQLException if a database access error occurs ! * @since 1.6 */ public NClob getNClob(int i) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }
*** 7869,7879 **** * * @param colName the name of the column from which to retrieve the value * @return a <code>NClob</code> object representing the SQL <code>NCLOB</code> * value in the specified column * @exception SQLException if a database access error occurs ! * @since 6.0 */ public NClob getNClob(String colName) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); } --- 7869,7879 ---- * * @param colName the name of the column from which to retrieve the value * @return a <code>NClob</code> object representing the SQL <code>NCLOB</code> * value in the specified column * @exception SQLException if a database access error occurs ! * @since 1.6 */ public NClob getNClob(String colName) throws SQLException { throw new SQLFeatureNotSupportedException(resBundle.handleGetObject("cachedrowsetimpl.opnotysupp").toString()); }