Java Doc for JdbcRowSetImpl.java in  » 6.0-JDK-Modules-com.sun » rowset » com » sun » rowset » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules com.sun » rowset » com.sun.rowset 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.sql.rowset.BaseRowSet
      com.sun.rowset.JdbcRowSetImpl

JdbcRowSetImpl
public class JdbcRowSetImpl extends BaseRowSet implements JdbcRowSet,Joinable(Code)
The standard implementation of the JdbcRowSet interface. See the interface defintion for full behavior and implementation requirements.
author:
   Jonathan Bruce, Amit Handa


Field Summary
protected transient  JdbcRowSetResourceBundlejdbcResBundle
    
final static  longserialVersionUID
    

Constructor Summary
public  JdbcRowSetImpl()
     Constructs a default JdbcRowSet object.
public  JdbcRowSetImpl(Connection con)
     Constructs a default JdbcRowSet object given a valid Connection object.
public  JdbcRowSetImpl(String url, String user, String password)
     Constructs a default JdbcRowSet object using the URL, username, and password arguments supplied.
public  JdbcRowSetImpl(ResultSet res)
     Constructs a JdbcRowSet object using the given valid ResultSet object.

Method Summary
public  booleanabsolute(int row)
     Moves the cursor to the given row number in this rowset's internal ResultSet object.

If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set.

public  voidafterLast()
     Moves the cursor to the end of this rowset's ResultSet object, just after the last row.
public  voidbeforeFirst()
     Moves the cursor to the front of this rowset's ResultSet object, just before the first row.
public  voidcancelRowUpdates()
     Cancels the updates made to the current row in this ResultSet object and notifies listeners that a row has changed.
protected  voidcheckState()
    
public  voidclearWarnings()
     Clears all warnings reported on this rowset's ResultSet object. After this method is called, the method getWarnings returns null until a new warning is reported for this rowset's ResultSet object.
public  voidclose()
     Releases this rowset's ResultSet object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.

Note: A ResultSet object is automatically closed by the Statement object that generated it when that Statement object is closed, re-executed, or is used to retrieve the next result from a sequence of multiple results.

public  voidcommit()
     Commits all updates in this JdbcRowSet object by wrapping the internal Connection object and calling its commit method.
protected  Connectionconnect()
    
public  voiddeleteRow()
     Deletes the current row from this rowset's ResultSet object and from the underlying database and also notifies listeners that a row has changed.
public  voidexecute()
     Creates the internal ResultSet object for which this JdbcRowSet object is a wrapper, effectively making the result set a JavaBeans component.

Certain properties must have been set before this method is called so that it can establish a connection to a database and execute the query that will create the result set.

public  intfindColumn(String columnName)
     Maps the given JdbcRowSetImpl column name to its JdbcRowSetImpl column index and reflects this on the internal ResultSet object.
public  booleanfirst()
     Moves the cursor to the first row in this rowset's ResultSet object.
public  ArraygetArray(int i)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as an Array object.
Parameters:
  i - the first column is 1, the second is 2, and so on.
public  ArraygetArray(String colName)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as an Array object.
public  java.io.InputStreamgetAsciiStream(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of ASCII characters.
public  java.io.InputStreamgetAsciiStream(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of ASCII characters.
public  booleangetAutoCommit()
     Returns the auto-commit status with this JdbcRowSet.
public  BigDecimalgetBigDecimal(int columnIndex, int scale)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.BigDecimal.
public  BigDecimalgetBigDecimal(String columnName, int scale)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.math.BigDecimal.
public  BigDecimalgetBigDecimal(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.math.BigDecimal with full precision.
public  BigDecimalgetBigDecimal(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.math.BigDecimal with full precision.
public  java.io.InputStreamgetBinaryStream(int columnIndex)
     Gets the value of a column in the current row as a stream of the value of the designated column in the current row of this rowset's ResultSet object as a binary stream of uninterpreted bytes.
public  java.io.InputStreamgetBinaryStream(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of uninterpreted bytes. The value can then be read in chunks from the stream.
public  BlobgetBlob(int i)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a Blob object.
public  BlobgetBlob(String colName)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a Blob object.
public  booleangetBoolean(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a boolean.
public  booleangetBoolean(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a boolean.
public  bytegetByte(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte.
public  bytegetByte(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte.
public  byte[]getBytes(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte array in the Java programming language.
public  byte[]getBytes(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte array in the Java programming language.
public  java.io.ReadergetCharacterStream(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.io.Reader object.
public  java.io.ReadergetCharacterStream(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.io.Reader object.
public  ClobgetClob(int i)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a Clob object.
public  ClobgetClob(String colName)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a Clob object.
public  intgetConcurrency()
     Returns the concurrency mode of this rowset's ResultSet object.
protected  ConnectiongetConnection()
    
public  StringgetCursorName()
     Gets the name of the SQL cursor used by this rowset's ResultSet object.

In SQL, a result table is retrieved through a cursor that is named.

public  DatabaseMetaDatagetDatabaseMetaData()
     Retrieves the DatabaseMetaData associated with the connection handle associated this this JdbcRowSet object. the DatabaseMetadata associatedwith the rowset's connection.
public  java.sql.DategetDate(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object in the Java programming language.
public  java.sql.DategetDate(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object in the Java programming language.
public  java.sql.DategetDate(int columnIndex, Calendar cal)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object.
public  java.sql.DategetDate(String columnName, Calendar cal)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object.
public  doublegetDouble(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a double.
public  doublegetDouble(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a double.
public  intgetFetchDirection()
     Returns the fetch direction for this ResultSet object.
public  floatgetFloat(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a float.
public  floatgetFloat(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a float.
public  intgetHoldability()
    
public  intgetInt(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as an int.
public  intgetInt(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as an int.
public  longgetLong(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a long.
public  longgetLong(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a long.
public  int[]getMatchColumnIndexes()
     Retrieves the column id as int array that was set using setMatchColumn(int []) for this rowset.
public  String[]getMatchColumnNames()
     Retrieves the column name as String array that was set using setMatchColumn(String []) for this rowset.
public  ResultSetMetaDatagetMetaData()
     Retrieves the number, types and properties of this rowset's ResultSet object's columns.
public  java.io.ReadergetNCharacterStream(int columnIndex)
     Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object.
public  java.io.ReadergetNCharacterStream(String columnName)
     Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object.
public  NClobgetNClob(int i)
     Retrieves the value of the designated column in the current row of this ResultSet object as a NClob object in the Java programming language.
Parameters:
  i - the first column is 1, the second is 2, ...
public  NClobgetNClob(String colName)
     Retrieves the value of the designated column in the current row of this ResultSet object as a NClob object in the Java programming language.
public  StringgetNString(int columnIndex)
     Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language. It is intended for use when accessing NCHAR,NVARCHAR and LONGNVARCHAR columns.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  StringgetNString(String columnName)
     Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language.
public  ObjectgetObject(int columnIndex)
    

Gets the value of the designated column in the current row of this rowset's ResultSet object as an Object.

This method will return the value of the given column as a Java object.

public  ObjectgetObject(String columnName)
    

Gets the value of the designated column in the current row of this rowset's ResultSet object as an Object.

This method will return the value of the given column as a Java object.

public  ObjectgetObject(int i, java.util.Map<String, Class<?>> map)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as an Object.
public  ObjectgetObject(String colName, java.util.Map<String, Class<?>> map)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as an Object.
public  ParameterMetaDatagetParameterMetaData()
     Retrieves the ParameterMetaData associated with the connection handle associated this this JdbcRowSet object. the ParameterMetadata associatedwith the rowset's connection.
protected  PreparedStatementgetPreparedStatement()
    
public  RefgetRef(int i)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a Ref object.
public  RefgetRef(String colName)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a Ref object.
protected  ResultSetgetResultSet()
    
public  intgetRow()
     Retrieves the current row number.
public  RowIdgetRowId(int columnIndex)
     Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.RowId object in the Java programming language.
Parameters:
  columnIndex - the first column is 1, the second 2, ...
public  RowIdgetRowId(String columnName)
     Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.RowId object in the Java programming language.
public  RowSetWarninggetRowSetWarnings()
    
public  SQLXMLgetSQLXML(int columnIndex)
     Retrieves the value of the designated SQL XML parameter as a SQLXML object in the Java programming language.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  SQLXMLgetSQLXML(String colName)
     Retrieves the value of the designated SQL XML parameter as a SQLXML object in the Java programming language.
public  shortgetShort(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a short.
public  shortgetShort(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a short.
public  java.sql.StatementgetStatement()
     Returns the Statement object that produced this ResultSet object.
public  StringgetString(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a String.
public  StringgetString(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a String.
public  java.sql.TimegetTime(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object in the Java programming language.
public  java.sql.TimegetTime(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object in the Java programming language.
public  java.sql.TimegetTime(int columnIndex, Calendar cal)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object.
public  java.sql.TimegetTime(String columnName, Calendar cal)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object.
public  java.sql.TimestampgetTimestamp(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object in the Java programming language.
public  java.sql.TimestampgetTimestamp(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object.
public  java.sql.TimestampgetTimestamp(int columnIndex, Calendar cal)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object.
public  java.sql.TimestampgetTimestamp(String columnName, Calendar cal)
     Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object.
public  intgetType()
     Returns the fetch size for this ResultSet object.
public  java.net.URLgetURL(int columnIndex)
    
public  java.net.URLgetURL(String columnName)
    
public  java.io.InputStreamgetUnicodeStream(int columnIndex)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as as a stream of Unicode characters. The value can then be read in chunks from the stream.
public  java.io.InputStreamgetUnicodeStream(String columnName)
     Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of Unicode characters.
public  SQLWarninggetWarnings()
     Returns the first warning reported by calls on this rowset's ResultSet object. Subsequent warnings on this rowset's ResultSet object will be chained to the SQLWarning object that this method returns.

The warning chain is automatically cleared each time a new row is read.

Note: This warning chain only covers warnings caused by ResultSet methods.

protected  voidinitMetaData(RowSetMetaData md, ResultSetMetaData rsmd)
     Initializes the given RowSetMetaData object with the values in the given ResultSetMetaData object.
public  voidinsertRow()
     Inserts the contents of the insert row into this ResultSet object and into the database and also notifies listeners that a row has changed.
public  booleanisAfterLast()
     Indicates whether the cursor is after the last row in this rowset's ResultSet object.
public  booleanisBeforeFirst()
     Indicates whether the cursor is before the first row in this rowset's ResultSet object.
public  booleanisClosed()
     Retrieves whether this ResultSet object has been closed.
public  booleanisFirst()
     Indicates whether the cursor is on the first row of this rowset's ResultSet object.
public  booleanisLast()
     Indicates whether the cursor is on the last row of this rowset's ResultSet object.
public  booleanisWrapperFor(Class interfaces)
    
public  booleanlast()
     Moves the cursor to the last row in this rowset's ResultSet object.
public  voidmoveToCurrentRow()
     Moves the cursor to the remembered cursor position, usually the current row.
public  voidmoveToInsertRow()
     Moves the cursor to the insert row.
public  booleannext()
     Moves the cursor for this rowset's ResultSet object down one row from its current position. A ResultSet cursor is initially positioned before the first row; the first call to the method next makes the first row the current row; the second call makes the second row the current row, and so on.
protected  PreparedStatementprepare()
    
public  booleanprevious()
     Moves the cursor to the previous row in this ResultSet object.
protected  voidreadObject(ObjectInputStream ois)
    
public  voidrefreshRow()
     Refreshes the current row of this rowset's ResultSet object with its most recent value in the database.
public  booleanrelative(int rows)
     Moves the cursor a relative number of rows, either positive or negative. Attempting to move beyond the first/last row in the result set positions the cursor before/after the the first/last row.
public  voidrollback()
     Rolls back all the updates in this JdbcRowSet object by wrapping the internal Connection object and calling its rollback method.
public  voidrollback(Savepoint s)
     Rollbacks all the updates in the JdbcRowSet back to the last Savepoint transaction marker.
public  booleanrowDeleted()
     Indicates whether a row has been deleted.
public  booleanrowInserted()
     Indicates whether the current row has had an insertion.
public  booleanrowUpdated()
     Indicates whether the current row has been updated.
public  voidsetAsciiStream(String parameterName, java.io.InputStream x, int length)
     Sets the designated parameter to the given input stream, which will have the specified number of bytes. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream.
public  voidsetAsciiStream(String parameterName, java.io.InputStream x)
     Sets the designated parameter to the given input stream. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream.
public  voidsetAutoCommit(boolean autoCommit)
    
public  voidsetBigDecimal(String parameterName, BigDecimal x)
     Sets the designated parameter to the given java.math.BigDecimal value.
public  voidsetBinaryStream(String parameterName, java.io.InputStream x, int length)
     Sets the designated parameter to the given input stream, which will have the specified number of bytes. When a very large binary value is input to a LONGVARBINARY parameter, it may be more practical to send it via a java.io.InputStream object.
public  voidsetBinaryStream(String parameterName, java.io.InputStream x)
     Sets the designated parameter to the given input stream. When a very large binary value is input to a LONGVARBINARY parameter, it may be more practical to send it via a java.io.InputStream object.
public  voidsetBlob(int parameterIndex, InputStream inputStream, long length)
     Sets the designated parameter to a InputStream object.
public  voidsetBlob(int parameterIndex, InputStream inputStream)
     Sets the designated parameter to a InputStream object. This method differs from the setBinaryStream (int, InputStream) This method differs from the setBinaryStream (int, InputStream) method because it informs the driver that the parameter value should be sent to the server as a BLOB.
public  voidsetBlob(String parameterName, InputStream inputStream, long length)
     Sets the designated parameter to a InputStream object.
public  voidsetBlob(String parameterName, Blob x)
     Sets the designated parameter to the given java.sql.Blob object.
public  voidsetBlob(String parameterName, InputStream inputStream)
     Sets the designated parameter to a InputStream object. This method differs from the setBinaryStream (int, InputStream) method because it informs the driver that the parameter value should be sent to the server as a BLOB.
public  voidsetBoolean(String parameterName, boolean x)
     Sets the designated parameter to the given Java boolean value.
public  voidsetByte(String parameterName, byte x)
     Sets the designated parameter to the given Java byte value.
public  voidsetBytes(String parameterName, byte x)
     Sets the designated parameter to the given Java array of bytes.
public  voidsetCharacterStream(String parameterName, java.io.Reader reader, int length)
     Sets the designated parameter to the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object.
public  voidsetCharacterStream(String parameterName, java.io.Reader reader)
     Sets the designated parameter to the given Reader object. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object.
public  voidsetClob(String parameterName, Reader reader, long length)
     Sets the designated parameter to a Reader object.
public  voidsetClob(String parameterName, Clob x)
     Sets the designated parameter to the given java.sql.Clob object.
public  voidsetClob(String parameterName, Reader reader)
     Sets the designated parameter to a Reader object. This method differs from the setCharacterStream (int, Reader) method because it informs the driver that the parameter value should be sent to the server as a CLOB.
public  voidsetClob(int parameterIndex, Reader reader)
     Sets the designated parameter to a Reader object. This method differs from the setCharacterStream (int, Reader) method because it informs the driver that the parameter value should be sent to the server as a CLOB.
public  voidsetClob(int parameterIndex, Reader reader, long length)
     Sets the designated parameter to a Reader object.
public  voidsetCommand(String command)
     Sets this JdbcRowSet object's command property to the given String object and clears the parameters, if any, that were set for the previous command.
public  voidsetConcurrency(int concur)
     Sets the concurrency for this RowSet object to the specified concurrency.
protected  voidsetConnection(Connection connection)
     Sets this JdbcRowSet object's connection property to the given Connection object.
public  voidsetDataSourceName(String dsName)
     Sets the dataSourceName property for this JdbcRowSet object to the given logical name and sets this JdbcRowSet object's Url property to null.
public  voidsetDate(String parameterName, java.sql.Date x)
     Sets the designated parameter to the given java.sql.Date value using the default time zone of the virtual machine that is running the application.
public  voidsetDate(String parameterName, java.sql.Date x, Calendar cal)
     Sets the designated parameter to the given java.sql.Date value, using the given Calendar object.
public  voidsetDouble(String parameterName, double x)
     Sets the designated parameter to the given Java double value.
public  voidsetFetchDirection(int direction)
     Gives a hint as to the direction in which the rows in this ResultSet object will be processed.
public  voidsetFetchSize(int rows)
     Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this ResultSet object. If the fetch size specified is zero, the JDBC driver ignores the value and is free to make its own best guess as to what the fetch size should be.
public  voidsetFloat(String parameterName, float x)
     Sets the designated parameter to the given Java float value.
public  voidsetInt(String parameterName, int x)
     Sets the designated parameter to the given Java int value.
public  voidsetLong(String parameterName, long x)
     Sets the designated parameter to the given Java long value.
public  voidsetMatchColumn(int[] columnIdxes)
     Sets the designated parameter to the given int array.
public  voidsetMatchColumn(String[] columnNames)
     Sets the designated parameter to the given String array.
public  voidsetMatchColumn(int columnIdx)
     Sets the designated parameter to the given int object.
public  voidsetMatchColumn(String columnName)
     Sets the designated parameter to the given String object.
public  voidsetMaxRows(int mRows)
     Sets the maximum number of rows that this RowSet object may contain to the given number.
public  voidsetNCharacterStream(int parameterIndex, Reader value)
     Sets the designated parameter in this RowSet object's command to a Reader object.
public  voidsetNCharacterStream(int parameterIndex, Reader value, long length)
     Sets the designated parameter to a Reader object.
public  voidsetNCharacterStream(String parameterName, Reader value, long length)
     Sets the designated parameter to a Reader object.
public  voidsetNCharacterStream(String parameterName, Reader value)
     Sets the designated parameter to a Reader object.
public  voidsetNClob(String parameterName, NClob value)
     Sets the designated parameter to a java.sql.NClob object.
public  voidsetNClob(int parameterIndex, Reader reader)
     Sets the designated parameter to a Reader object. This method differs from the setCharacterStream (int, Reader) method because it informs the driver that the parameter value should be sent to the server as a NCLOB.
public  voidsetNClob(String parameterName, Reader reader, long length)
     Sets the designated parameter to a Reader object.
public  voidsetNClob(String parameterName, Reader reader)
     Sets the designated parameter to a Reader object. This method differs from the setCharacterStream (int, Reader) method because it informs the driver that the parameter value should be sent to the server as a NCLOB.
public  voidsetNClob(int parameterIndex, Reader reader, long length)
     of characters specified by length otherwise a SQLException will becontain the number generated when the PreparedStatement is executed. This method differs from the setCharacterStream (int, Reader, int) method because it informs the driver that the parameter value should be sent to the server as a NCLOB.
public  voidsetNClob(int parameterIndex, NClob value)
     Sets the designated parameter to a java.sql.NClob object.
public  voidsetNString(int parameterIndex, String value)
     Sets the designated paramter to the given String object.
public  voidsetNString(String parameterName, String value)
     Sets the designated paramter to the given String object.
public  voidsetNull(String parameterName, int sqlType)
     Sets the designated parameter to SQL NULL.
public  voidsetNull(String parameterName, int sqlType, String typeName)
     Sets the designated parameter to SQL NULL. This version of the method setNull should be used for user-defined types and REF type parameters.
public  voidsetObject(String parameterName, Object x, int targetSqlType, int scale)
     Sets the value of the designated parameter with the given object.
public  voidsetObject(String parameterName, Object x, int targetSqlType)
     Sets the value of the designated parameter with the given object.
public  voidsetObject(String parameterName, Object x)
     Sets the value of the designated parameter with the given object. The second parameter must be of type Object; therefore, the java.lang equivalent objects should be used for built-in types.

The JDBC specification specifies a standard mapping from Java Object types to SQL types.

protected  voidsetParams()
    
public  voidsetPassword(String password)
     Sets the password property for this JdbcRowSet object to the given String object.
protected  voidsetPreparedStatement(PreparedStatement preparedStatement)
     Sets this JdbcRowSet object's preparedtsatement property to the given PreparedStatemennt object.
protected  voidsetProperties(PreparedStatement ps)
    
protected  voidsetResultSet(ResultSet resultSet)
     Sets this JdbcRowSet object's resultset property to the given ResultSet object.
public  voidsetRowId(int parameterIndex, RowId x)
     Sets the designated parameter to the given java.sql.RowId object.
public  voidsetRowId(String parameterName, RowId x)
     Sets the designated parameter to the given java.sql.RowId object.
public  voidsetSQLXML(int parameterIndex, SQLXML xmlObject)
     Sets the designated parameter to the given java.sql.SQLXML object.
public  voidsetSQLXML(String parameterName, SQLXML xmlObject)
     Sets the designated parameter to the given java.sql.SQLXML object.
public  voidsetShort(String parameterName, short x)
     Sets the designated parameter to the given Java short value.
public  voidsetString(String parameterName, String x)
     Sets the designated parameter to the given Java String value.
public  voidsetTime(String parameterName, java.sql.Time x)
     Sets the designated parameter to the given java.sql.Time value.
public  voidsetTime(String parameterName, java.sql.Time x, Calendar cal)
     Sets the designated parameter to the given java.sql.Time value, using the given Calendar object.
public  voidsetTimestamp(String parameterName, java.sql.Timestamp x, Calendar cal)
     Sets the designated parameter to the given java.sql.Timestamp value, using the given Calendar object.
public  voidsetTimestamp(String parameterName, java.sql.Timestamp x)
     Sets the designated parameter to the given java.sql.Timestamp value.
public  voidsetTransactionIsolation(int transIso)
     Sets the transaction isolation property for this JDBC RowSet object to the given constant.
public  voidsetType(int type)
     Sets the type for this RowSet object to the specified type.
public  voidsetURL(int parameterIndex, java.net.URL x)
     Sets the designated parameter to the given java.net.URL value.
public  voidsetUrl(String url)
     Sets the Url property for this JdbcRowSet object to the given String object and sets the dataSource name property to null.
public  voidsetUsername(String uname)
     Sets the username property for this JdbcRowSet object to the given user name.
public  voidunsetMatchColumn(int[] columnIdxes)
     Unsets the designated parameter to the given int array.
public  voidunsetMatchColumn(String[] columnIdxes)
     Unsets the designated parameter to the given String array.
public  voidunsetMatchColumn(int columnIdx)
     Unsets the designated parameter to the given int object.
public  voidunsetMatchColumn(String columnName)
     Unsets the designated parameter to the given String object.
public  Tunwrap(java.lang.Class<T> iface)
    
public  voidupdateArray(int columnIndex, Array a)
     Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Array values.
public  voidupdateArray(String columnName, Array a)
     Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Array value.
public  voidupdateAsciiStream(int columnIndex, java.io.InputStream x, int length)
     Updates the designated column with an ascii stream value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateAsciiStream(String columnName, java.io.InputStream x, int length)
     Updates the designated column with an ascii stream value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateAsciiStream(int columnIndex, java.io.InputStream x, long length)
     Updates the designated column with an ascii stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateAsciiStream(String columnLabel, java.io.InputStream x, long length)
     Updates the designated column with an ascii stream value, which will have the specified number of bytes.. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateAsciiStream(int columnIndex, java.io.InputStream x)
     Updates the designated column with an ascii stream value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateAsciiStream(String columnLabel, java.io.InputStream x)
     Updates the designated column with an ascii stream value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateBigDecimal(int columnIndex, BigDecimal x)
     Updates the designated column with a java.math.BigDecimal value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateBigDecimal(String columnName, BigDecimal x)
     Updates the designated column with a java.sql.BigDecimal value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateBinaryStream(int columnIndex, java.io.InputStream x, int length)
     Updates the designated column with a binary stream value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateBinaryStream(String columnName, java.io.InputStream x, int length)
     Updates the designated column with a binary stream value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateBinaryStream(int columnIndex, java.io.InputStream x, long length)
     Updates the designated column with a binary stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateBinaryStream(String columnLabel, java.io.InputStream x, long length)
     Updates the designated column with a binary stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateBinaryStream(int columnIndex, java.io.InputStream x)
     Updates the designated column with a binary stream value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateBinaryStream(String columnLabel, java.io.InputStream x)
     Updates the designated column with a binary stream value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateBlob(int columnIndex, Blob b)
     Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Blob value.
public  voidupdateBlob(String columnName, Blob b)
     Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Blob value.
public  voidupdateBlob(int columnIndex, InputStream inputStream, long length)
     Updates the designated column using the given input stream, which will have the specified number of bytes. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream.
public  voidupdateBlob(String columnLabel, InputStream inputStream, long length)
     Updates the designated column using the given input stream, which will have the specified number of bytes. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream.
public  voidupdateBlob(int columnIndex, InputStream inputStream)
     Updates the designated column using the given input stream. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream.
public  voidupdateBlob(String columnLabel, InputStream inputStream)
     Updates the designated column using the given input stream. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream.
public  voidupdateBoolean(int columnIndex, boolean x)
     Updates the designated column with a boolean value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateBoolean(String columnName, boolean x)
     Updates the designated column with a boolean value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateByte(int columnIndex, byte x)
     Updates the designated column with a byte value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateByte(String columnName, byte x)
     Updates the designated column with a byte value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateBytes(int columnIndex, byte x)
     Updates the designated column with a byte array value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateBytes(String columnName, byte x)
     Updates the designated column with a boolean value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateCharacterStream(int columnIndex, java.io.Reader x, int length)
     Updates the designated column with a character stream value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateCharacterStream(String columnName, java.io.Reader reader, int length)
     Updates the designated column with a character stream value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateCharacterStream(int columnIndex, java.io.Reader x, long length)
     Updates the designated column with a character stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateCharacterStream(String columnLabel, java.io.Reader reader, long length)
     Updates the designated column with a character stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateCharacterStream(int columnIndex, java.io.Reader x)
     Updates the designated column with a character stream value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateCharacterStream(String columnLabel, java.io.Reader reader)
     Updates the designated column with a character stream value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateClob(int columnIndex, Clob c)
     Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value.
public  voidupdateClob(String columnName, Clob c)
     Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value.
public  voidupdateClob(int columnIndex, Reader reader, long length)
     Updates the designated column using the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object.
public  voidupdateClob(String columnLabel, Reader reader, long length)
     Updates the designated column using the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object.
public  voidupdateClob(int columnIndex, Reader reader)
     Updates the designated column using the given Reader object. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object.
public  voidupdateClob(String columnLabel, Reader reader)
     Updates the designated column using the given Reader object. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object.
public  voidupdateDate(int columnIndex, java.sql.Date x)
     Updates the designated column with a java.sql.Date value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateDate(String columnName, java.sql.Date x)
     Updates the designated column with a java.sql.Date value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateDouble(int columnIndex, double x)
     Updates the designated column with a double value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateDouble(String columnName, double x)
     Updates the designated column with a double value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateFloat(int columnIndex, float x)
     Updates the designated column with a float value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateFloat(String columnName, float x)
     Updates the designated column with a float value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateInt(int columnIndex, int x)
     Updates the designated column with an int value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateInt(String columnName, int x)
     Updates the designated column with an int value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateLong(int columnIndex, long x)
     Updates the designated column with a long value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateLong(String columnName, long x)
     Updates the designated column with a long value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateNCharacterStream(int columnIndex, java.io.Reader x, long length)
     Updates the designated column with a character stream value, which will have the specified number of bytes.
public  voidupdateNCharacterStream(String columnName, java.io.Reader x, long length)
     Updates the designated column with a character stream value, which will have the specified number of bytes.
public  voidupdateNCharacterStream(int columnIndex, java.io.Reader x)
     Updates the designated column with a character stream value.
public  voidupdateNCharacterStream(String columnLabel, java.io.Reader reader)
     Updates the designated column with a character stream value.
public  voidupdateNClob(int columnIndex, NClob nClob)
    
public  voidupdateNClob(String columnName, NClob nClob)
    
public  voidupdateNClob(int columnIndex, Reader reader, long length)
     Updates the designated column using the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object.
public  voidupdateNClob(String columnLabel, Reader reader, long length)
     Updates the designated column using the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object.
public  voidupdateNClob(int columnIndex, Reader reader)
     Updates the designated column using the given Reader object. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object.
public  voidupdateNClob(String columnLabel, Reader reader)
     Updates the designated column using the given Reader object. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object.
public  voidupdateNString(int columnIndex, String nString)
     This method is used for updating columns that support National Character sets.
public  voidupdateNString(String columnName, String nString)
     This method is used for updating columns that support National Character sets.
public  voidupdateNull(int columnIndex)
     Gives a nullable column a null value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateNull(String columnName)
     Updates the designated column with a null value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateObject(int columnIndex, Object x, int scale)
     Updates the designated column with an Object value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateObject(int columnIndex, Object x)
     Updates the designated column with an Object value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateObject(String columnName, Object x, int scale)
     Updates the designated column with an Object value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateObject(String columnName, Object x)
     Updates the designated column with an Object value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateRef(int columnIndex, java.sql.Ref ref)
     Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value.
public  voidupdateRef(String columnName, java.sql.Ref ref)
     Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value.
public  voidupdateRow()
     Updates the underlying database with the new contents of the current row of this rowset's ResultSet object and notifies listeners that a row has changed.
public  voidupdateRowId(int columnIndex, RowId x)
     Updates the designated column with a RowId value.
public  voidupdateRowId(String columnName, RowId x)
     Updates the designated column with a RowId value.
public  voidupdateSQLXML(int columnIndex, SQLXML xmlObject)
     Updates the designated column with a java.sql.SQLXML value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateSQLXML(String columnName, SQLXML xmlObject)
     Updates the designated column with a java.sql.SQLXML value. The updater methods are used to update column values in the current row or the insert row.
public  voidupdateShort(int columnIndex, short x)
     Updates the designated column with a short value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateShort(String columnName, short x)
     Updates the designated column with a short value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateString(int columnIndex, String x)
     Updates the designated column with a String value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateString(String columnName, String x)
     Updates the designated column with a String value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateTime(int columnIndex, java.sql.Time x)
     Updates the designated column with a java.sql.Time value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateTime(String columnName, java.sql.Time x)
     Updates the designated column with a java.sql.Time value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateTimestamp(int columnIndex, java.sql.Timestamp x)
     Updates the designated column with a java.sql.Timestamp value. The updateXXX methods are used to update column values in the current row or the insert row.
public  voidupdateTimestamp(String columnName, java.sql.Timestamp x)
     Updates the designated column with a java.sql.Timestamp value. The updateXXX methods are used to update column values in the current row or the insert row.
public  booleanwasNull()
     Reports whether the last column read from this rowset's ResultSet object had a value of SQL NULL.

Field Detail
jdbcResBundle
protected transient JdbcRowSetResourceBundle jdbcResBundle(Code)



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
JdbcRowSetImpl
public JdbcRowSetImpl()(Code)
Constructs a default JdbcRowSet object. The new instance of JdbcRowSet will serve as a proxy for the ResultSet object it creates, and by so doing, it will make it possible to use the result set as a JavaBeans component.

The following is true of a default JdbcRowSet instance:

  • Does not show deleted rows
  • Has no time limit for how long a driver may take to execute the rowset's command
  • Has no limit for the number of rows it may contain
  • Has no limit for the number of bytes a column may contain
  • Has a scrollable cursor and does not show changes made by others
  • Will not see uncommitted data (make "dirty" reads)
  • Has escape processing turned on
  • Has its connection's type map set to null
  • Has an empty Hashtable object for storing any parameters that are set
A newly created JdbcRowSet object must have its execute method invoked before other public methods are called on it; otherwise, such method calls will cause an exception to be thrown.
throws:
  SQLException - [1] if any of its public methods are called priorto calling the execute method; [2] if invalid JDBC driverproperties are set or [3] if no connection to a data source exists.



JdbcRowSetImpl
public JdbcRowSetImpl(Connection con) throws SQLException(Code)
Constructs a default JdbcRowSet object given a valid Connection object. The new instance of JdbcRowSet will serve as a proxy for the ResultSet object it creates, and by so doing, it will make it possible to use the result set as a JavaBeans component.

The following is true of a default JdbcRowSet instance:

  • Does not show deleted rows
  • Has no time limit for how long a driver may take to execute the rowset's command
  • Has no limit for the number of rows it may contain
  • Has no limit for the number of bytes a column may contain
  • Has a scrollable cursor and does not show changes made by others
  • Will not see uncommitted data (make "dirty" reads)
  • Has escape processing turned on
  • Has its connection's type map set to null
  • Has an empty Hashtable object for storing any parameters that are set
A newly created JdbcRowSet object must have its execute method invoked before other public methods are called on it; otherwise, such method calls will cause an exception to be thrown.
throws:
  SQLException - [1] if any of its public methods are called priorto calling the execute method, [2] if invalid JDBC driverproperties are set, or [3] if no connection to a data source exists.



JdbcRowSetImpl
public JdbcRowSetImpl(String url, String user, String password) throws SQLException(Code)
Constructs a default JdbcRowSet object using the URL, username, and password arguments supplied. The new instance of JdbcRowSet will serve as a proxy for the ResultSet object it creates, and by so doing, it will make it possible to use the result set as a JavaBeans component.

The following is true of a default JdbcRowSet instance:

  • Does not show deleted rows
  • Has no time limit for how long a driver may take to execute the rowset's command
  • Has no limit for the number of rows it may contain
  • Has no limit for the number of bytes a column may contain
  • Has a scrollable cursor and does not show changes made by others
  • Will not see uncommitted data (make "dirty" reads)
  • Has escape processing turned on
  • Has its connection's type map set to null
  • Has an empty Hashtable object for storing any parameters that are set

Parameters:
  url - - a JDBC URL for the database to which this JdbcRowSetobject will be connected. The form for a JDBC URL isjdbc:subprotocol:subname.
Parameters:
  user - - the database user on whose behalf the connection is being made
Parameters:
  password - - the user's password
throws:
  SQLException - if a database access error occurs



JdbcRowSetImpl
public JdbcRowSetImpl(ResultSet res) throws SQLException(Code)
Constructs a JdbcRowSet object using the given valid ResultSet object. The new instance of JdbcRowSet will serve as a proxy for the ResultSet object, and by so doing, it will make it possible to use the result set as a JavaBeans component.

The following is true of a default JdbcRowSet instance:

  • Does not show deleted rows
  • Has no time limit for how long a driver may take to execute the rowset's command
  • Has no limit for the number of rows it may contain
  • Has no limit for the number of bytes a column may contain
  • Has a scrollable cursor and does not show changes made by others
  • Will not see uncommitted data (make "dirty" reads)
  • Has escape processing turned on
  • Has its connection's type map set to null
  • Has an empty Hashtable object for storing any parameters that are set

Parameters:
  res - a valid ResultSet object
throws:
  SQLException - if a database access occurs due to a non valid ResultSet handle.




Method Detail
absolute
public boolean absolute(int row) throws SQLException(Code)
Moves the cursor to the given row number in this rowset's internal ResultSet object.

If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set. The first row is row 1, the second is row 2, and so on.

If the given row number is negative, the cursor moves to an absolute row position with respect to the end of the result set. For example, calling the method absolute(-1) positions the cursor on the last row, calling the method absolute(-2) moves the cursor to the next-to-last row, and so on.

An attempt to position the cursor beyond the first/last row in the result set leaves the cursor before the first row or after the last row.

Note: Calling absolute(1) is the same as calling first(). Calling absolute(-1) is the same as calling last(). true if the cursor is on the result set;false otherwise
throws:
  SQLException - if (1) a database access error occurs,(2) the row is 0, (3) the result set type is TYPE_FORWARD_ONLY, or (4) thisrowset does not currently have a valid connection,prepared statement, and result set




afterLast
public void afterLast() throws SQLException(Code)
Moves the cursor to the end of this rowset's ResultSet object, just after the last row. This method has no effect if the result set contains no rows.
throws:
  SQLException - if (1) a database access error occurs,(2) the result set type is TYPE_FORWARD_ONLY,or (3) this rowset does not currently have a validconnection, prepared statement, and result set



beforeFirst
public void beforeFirst() throws SQLException(Code)
Moves the cursor to the front of this rowset's ResultSet object, just before the first row. This method has no effect if the result set contains no rows.
throws:
  SQLException - if (1) a database access error occurs,(2) the result set type is TYPE_FORWARD_ONLY,or (3) this rowset does not currently have a validconnection, prepared statement, and result set



cancelRowUpdates
public void cancelRowUpdates() throws SQLException(Code)
Cancels the updates made to the current row in this ResultSet object and notifies listeners that a row has changed. This method may be called after calling an updateXXX method(s) and before calling the method updateRow to roll back the updates made to a row. If no updates have been made or updateRow has already been called, this method has no effect.
throws:
  SQLException - if (1) a database access error occurs,(2) this method is called when the cursor is on the insert row, or (3) this rowset does notcurrently have a valid connection, prepared statement, and result set



checkState
protected void checkState() throws SQLException(Code)



clearWarnings
public void clearWarnings() throws SQLException(Code)
Clears all warnings reported on this rowset's ResultSet object. After this method is called, the method getWarnings returns null until a new warning is reported for this rowset's ResultSet object.
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



close
public void close() throws SQLException(Code)
Releases this rowset's ResultSet object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.

Note: A ResultSet object is automatically closed by the Statement object that generated it when that Statement object is closed, re-executed, or is used to retrieve the next result from a sequence of multiple results. A ResultSet object is also automatically closed when it is garbage collected.
throws:
  SQLException - if a database access error occurs




commit
public void commit() throws SQLException(Code)
Commits all updates in this JdbcRowSet object by wrapping the internal Connection object and calling its commit method. This method sets this JdbcRowSet object's private field rs to null after saving its value to another object, but only if the ResultSet constant HOLD_CURSORS_OVER_COMMIT has not been set. (The field rs is this JdbcRowSet object's ResultSet object.)
throws:
  SQLException - if autoCommit is set to true or if a databaseaccess error occurs



connect
protected Connection connect() throws SQLException(Code)



deleteRow
public void deleteRow() throws SQLException(Code)
Deletes the current row from this rowset's ResultSet object and from the underlying database and also notifies listeners that a row has changed. This method cannot be called when the cursor is on the insert row.
throws:
  SQLException - if a database access error occursor if this method is called when the cursor is on the insert row
throws:
  SQLException - if (1) a database access error occurs,(2) this method is called when the cursor is before thefirst row, after the last row, or on the insert row, (3) the concurrency of this rowset's resultset is ResultSet.CONCUR_READ_ONLY, or(4) this rowset does not currently have a valid connection,prepared statement, and result set



execute
public void execute() throws SQLException(Code)
Creates the internal ResultSet object for which this JdbcRowSet object is a wrapper, effectively making the result set a JavaBeans component.

Certain properties must have been set before this method is called so that it can establish a connection to a database and execute the query that will create the result set. If a DataSource object will be used to create the connection, properties for the data source name, user name, and password must be set. If the DriverManager will be used, the properties for the URL, user name, and password must be set. In either case, the property for the command must be set. If the command has placeholder parameters, those must also be set. This method throws an exception if the required properties are not set.

Other properties have default values that may optionally be set to new values. The execute method will use the value for the command property to create a PreparedStatement object and set its properties (escape processing, maximum field size, maximum number of rows, and query timeout limit) to be those of this rowset.
throws:
  SQLException - if (1) a database access error occurs,(2) any required JDBC properties are not set, or (3) if an invalid connection exists.




findColumn
public int findColumn(String columnName) throws SQLException(Code)
Maps the given JdbcRowSetImpl column name to its JdbcRowSetImpl column index and reflects this on the internal ResultSet object.
Parameters:
  columnName - the name of the column the column index of the given column name
throws:
  SQLException - if (1) a database access error occurs(2) this rowset does not have a currently valid connection,prepared statement, and result set



first
public boolean first() throws SQLException(Code)
Moves the cursor to the first row in this rowset's ResultSet object. true if the cursor is on a valid row;false if there are no rows in the result set
throws:
  SQLException - if (1) a database access error occurs,(2) the result set type is TYPE_FORWARD_ONLY,or (3) this rowset does not currently have a validconnection, prepared statement, and result set



getArray
public Array getArray(int i) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as an Array object.
Parameters:
  i - the first column is 1, the second is 2, and so on. an Array object representing the SQL ARRAY value in the specified column
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getArray
public Array getArray(String colName) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as an Array object.
Parameters:
  colName - the name of the column from which to retrieve the value an Array object representing the SQL ARRAY value in the specified column
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getAsciiStream
public java.io.InputStream getAsciiStream(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of ASCII characters. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARCHAR values. The JDBC driver will do any necessary conversion from the database format into ASCII.

Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getXXX method implicitly closes the stream. Also, a stream may return 0 when the method InputStream.available is called whether there is data available or not.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on a Java input stream that delivers the database column valueas a stream of one-byte ASCII characters;if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) database access error occurs(2) this rowset does not have a currently valid connection,prepared statement, and result set




getAsciiStream
public java.io.InputStream getAsciiStream(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of ASCII characters. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARCHAR values. The JDBC driver will do any necessary conversion from the database format into ASCII.

Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getXXX method implicitly closes the stream. Also, a stream may return 0 when the method available is called whether there is data available or not.
Parameters:
  columnName - the SQL name of the column a Java input stream that delivers the database column valueas a stream of one-byte ASCII characters.If the value is SQL NULL,the value returned is null.
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set




getAutoCommit
public boolean getAutoCommit() throws SQLException(Code)
Returns the auto-commit status with this JdbcRowSet. true if auto commit is true; false otherwise
throws:
  SQLException - if a database access error occurs



getBigDecimal
public BigDecimal getBigDecimal(int columnIndex, int scale) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.BigDecimal.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  scale - the number of digits to the right of the decimal point the column value; if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getBigDecimal
public BigDecimal getBigDecimal(String columnName, int scale) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.math.BigDecimal.
Parameters:
  columnName - the SQL name of the column
Parameters:
  scale - the number of digits to the right of the decimal point the column value; if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) adatabase access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getBigDecimal
public BigDecimal getBigDecimal(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.math.BigDecimal with full precision.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value (full precision);if the value is SQL NULL, the value returned isnull.
throws:
  SQLException - if a database access error occursor this rowset does not currently have a validconnection, prepared statement, and result set



getBigDecimal
public BigDecimal getBigDecimal(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.math.BigDecimal with full precision.
Parameters:
  columnName - the column name the column value (full precision);if the value is SQL NULL, the value returned isnull.
throws:
  SQLException - if a database access error occursor this rowset does not currently have a validconnection, prepared statement, and result set



getBinaryStream
public java.io.InputStream getBinaryStream(int columnIndex) throws SQLException(Code)
Gets the value of a column in the current row as a stream of the value of the designated column in the current row of this rowset's ResultSet object as a binary stream of uninterpreted bytes. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARBINARY values.

Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getXXX method implicitly closes the stream. Also, a stream may return 0 when the method InputStream.available is called whether there is data available or not.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on a Java input stream that delivers the database column valueas a stream of uninterpreted bytes;if the value is SQL NULL, the value returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set




getBinaryStream
public java.io.InputStream getBinaryStream(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of uninterpreted bytes. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARBINARY values.

Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getXXX method implicitly closes the stream. Also, a stream may return 0 when the method available is called whether there is data available or not.
Parameters:
  columnName - the SQL name of the column a Java input stream that delivers the database column valueas a stream of uninterpreted bytes; if the value is SQL NULL, the result is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set




getBlob
public Blob getBlob(int i) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Blob object.
Parameters:
  i - the first column is 1, the second is 2, and so on a Blob object representing the SQL BLOB value in the specified column
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getBlob
public Blob getBlob(String colName) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Blob object.
Parameters:
  colName - the name of the column from which to retrieve the value a Blob object representing the SQL BLOB value in the specified column
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getBoolean
public boolean getBoolean(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a boolean.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is false
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getBoolean
public boolean getBoolean(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a boolean.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is false
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getByte
public byte getByte(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getByte
public byte getByte(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getBytes
public byte[] getBytes(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte array in the Java programming language. The bytes represent the raw values returned by the driver.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getBytes
public byte[] getBytes(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a byte array in the Java programming language. The bytes represent the raw values returned by the driver.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getCharacterStream
public java.io.Reader getCharacterStream(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.io.Reader object. a java.io.Reader object that contains the columnvalue; if the value is SQL NULL, the value returned isnull.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on



getCharacterStream
public java.io.Reader getCharacterStream(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.io.Reader object. a java.io.Reader object that contains the columnvalue; if the value is SQL NULL, the value returned isnull.
Parameters:
  columnName - the name of the column the value in the specified column as a java.io.Reader



getClob
public Clob getClob(int i) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Clob object.
Parameters:
  i - the first column is 1, the second is 2, and so on a Clob object representing the SQL CLOB value in the specified column
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getClob
public Clob getClob(String colName) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Clob object.
Parameters:
  colName - the name of the column from which to retrieve the value a Clob object representing the SQL CLOBvalue in the specified column
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getConcurrency
public int getConcurrency() throws SQLException(Code)
Returns the concurrency mode of this rowset's ResultSet object. The concurrency used is determined by the Statement object that created the result set. the concurrency type, either CONCUR_READ_ONLYor CONCUR_UPDATABLE
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getConnection
protected Connection getConnection()(Code)
Gets this JdbcRowSet object's Connection property the Connection object associated with this rowset;



getCursorName
public String getCursorName() throws SQLException(Code)
Gets the name of the SQL cursor used by this rowset's ResultSet object.

In SQL, a result table is retrieved through a cursor that is named. The current row of a result set can be updated or deleted using a positioned update/delete statement that references the cursor name. To insure that the cursor has the proper isolation level to support update, the cursor's select statement should be of the form 'select for update'. If the 'for update' clause is omitted, the positioned updates may fail.

The JDBC API supports this SQL feature by providing the name of the SQL cursor used by a ResultSet object. The current row of a ResultSet object is also the current row of this SQL cursor.

Note: If positioned update is not supported, a SQLException is thrown. the SQL name for this rowset's ResultSet object's cursor
throws:
  SQLException - if (1) a database access error occursor (2) xthis rowset does not have a currently valid connection,prepared statement, and result set




getDatabaseMetaData
public DatabaseMetaData getDatabaseMetaData() throws SQLException(Code)
Retrieves the DatabaseMetaData associated with the connection handle associated this this JdbcRowSet object. the DatabaseMetadata associatedwith the rowset's connection.
throws:
  SQLException - if a database access error occurs



getDate
public java.sql.Date getDate(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object in the Java programming language.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getDate
public java.sql.Date getDate(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object in the Java programming language.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getDate
public java.sql.Date getDate(int columnIndex, Calendar cal) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object. This method uses the given calendar to construct an appropriate millisecond value for the date if the underlying database does not store timezone information.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  cal - the java.util.Calendar objectto use in constructing the date the column value as a java.sql.Date object;if the value is SQL NULL,the value returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getDate
public java.sql.Date getDate(String columnName, Calendar cal) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Date object. This method uses the given calendar to construct an appropriate millisecond value for the date if the underlying database does not store timezone information.
Parameters:
  columnName - the SQL name of the column from which to retrieve the value
Parameters:
  cal - the java.util.Calendar objectto use in constructing the date the column value as a java.sql.Date object;if the value is SQL NULL,the value returned is null
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



getDouble
public double getDouble(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a double.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getDouble
public double getDouble(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a double.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getFetchDirection
public int getFetchDirection() throws SQLException(Code)
Returns the fetch direction for this ResultSet object. the current fetch direction for this rowset's ResultSet object
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



getFloat
public float getFloat(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a float.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getFloat
public float getFloat(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a float.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getHoldability
public int getHoldability() throws SQLException(Code)
Retrieves the holdability of this ResultSet object either ResultSet.HOLD_CURSORS_OVER_COMMIT or ResultSet.CLOSE_CURSORS_AT_COMMIT
throws:
  SQLException - if a database error occurs
since:
   6.0



getInt
public int getInt(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as an int.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getInt
public int getInt(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as an int.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getLong
public long getLong(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a long.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getLong
public long getLong(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a long.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if a database access error occursor this rowset does not have a currently valid connection,prepared statement, and result set



getMatchColumnIndexes
public int[] getMatchColumnIndexes() throws SQLException(Code)
Retrieves the column id as int array that was set using setMatchColumn(int []) for this rowset. a int array object that contains the column idsfor the rowset which has this as the match columns.
throws:
  SQLException - if an error occurs or column index is not set



getMatchColumnNames
public String[] getMatchColumnNames() throws SQLException(Code)
Retrieves the column name as String array that was set using setMatchColumn(String []) for this rowset. a String array object that contains the column namesfor the rowset which has this the match columns
throws:
  SQLException - if an error occurs or column name is not set



getMetaData
public ResultSetMetaData getMetaData() throws SQLException(Code)
Retrieves the number, types and properties of this rowset's ResultSet object's columns. the description of this rowset's ResultSet object's columns
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getNCharacterStream
public java.io.Reader getNCharacterStream(int columnIndex) throws SQLException(Code)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object. It is intended for use when accessing NCHAR,NVARCHAR and LONGNVARCHAR columns. a java.io.Reader object that contains the columnvalue; if the value is SQL NULL, the value returned isnull in the Java programming language.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
exception:
  SQLException - if a database access error occurs
since:
   1.6



getNCharacterStream
public java.io.Reader getNCharacterStream(String columnName) throws SQLException(Code)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.io.Reader object. It is intended for use when accessing NCHAR,NVARCHAR and LONGNVARCHAR columns.
Parameters:
  columnName - the name of the column a java.io.Reader object that contains the columnvalue; if the value is SQL NULL, the value returned isnull in the Java programming language
exception:
  SQLException - if a database access error occurs
since:
   1.6



getNClob
public NClob getNClob(int i) throws SQLException(Code)
Retrieves the value of the designated column in the current row of this ResultSet object as a NClob object in the Java programming language.
Parameters:
  i - the first column is 1, the second is 2, ... a NClob object representing the SQL NCLOB value in the specified column
exception:
  SQLException - if a database access error occurs
since:
   6.0



getNClob
public NClob getNClob(String colName) throws SQLException(Code)
Retrieves the value of the designated column in the current row of this ResultSet object as a NClob object in the Java programming language.
Parameters:
  colName - the name of the column from which to retrieve the value a NClob object representing the SQL NCLOBvalue in the specified column
exception:
  SQLException - if a database access error occurs
since:
   6.0



getNString
public String getNString(int columnIndex) throws SQLException(Code)
Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language. It is intended for use when accessing NCHAR,NVARCHAR and LONGNVARCHAR columns.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... the column value; if the value is SQL NULL, thevalue returned is null
exception:
  SQLException - if a database access error occurs
since:
   1.6



getNString
public String getNString(String columnName) throws SQLException(Code)
Retrieves the value of the designated column in the current row of this ResultSet object as a String in the Java programming language. It is intended for use when accessing NCHAR,NVARCHAR and LONGNVARCHAR columns.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is null
exception:
  SQLException - if a database access error occurs
since:
   1.6



getObject
public Object getObject(int columnIndex) throws SQLException(Code)

Gets the value of the designated column in the current row of this rowset's ResultSet object as an Object.

This method will return the value of the given column as a Java object. The type of the Java object will be the default Java object type corresponding to the column's SQL type, following the mapping for built-in types specified in the JDBC specification.

This method may also be used to read datatabase-specific abstract data types. In the JDBC 3.0 API, the behavior of method getObject is extended to materialize data of SQL user-defined types. When a column contains a structured or distinct value, the behavior of this method is as if it were a call to: getObject(columnIndex, this.getStatement().getConnection().getTypeMap()).
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on a java.lang.Object holding the column value
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set




getObject
public Object getObject(String columnName) throws SQLException(Code)

Gets the value of the designated column in the current row of this rowset's ResultSet object as an Object.

This method will return the value of the given column as a Java object. The type of the Java object will be the default Java object type corresponding to the column's SQL type, following the mapping for built-in types specified in the JDBC specification.

This method may also be used to read datatabase-specific abstract data types. In the JDBC 3.0 API, the behavior of the method getObject is extended to materialize data of SQL user-defined types. When a column contains a structured or distinct value, the behavior of this method is as if it were a call to: getObject(columnIndex, this.getStatement().getConnection().getTypeMap()).
Parameters:
  columnName - the SQL name of the column a java.lang.Object holding the column value
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set




getObject
public Object getObject(int i, java.util.Map<String, Class<?>> map) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as an Object. This method uses the given Map object for the custom mapping of the SQL structured or distinct type that is being retrieved.
Parameters:
  i - the first column is 1, the second is 2, and so on
Parameters:
  map - a java.util.Map object that contains the mapping from SQL type names to classes in the Java programming language an Object in the Java programming languagerepresenting the SQL value
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getObject
public Object getObject(String colName, java.util.Map<String, Class<?>> map) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as an Object. This method uses the specified Map object for custom mapping if appropriate.
Parameters:
  colName - the name of the column from which to retrieve the value
Parameters:
  map - a java.util.Map object that contains the mapping from SQL type names to classes in the Java programming language an Object representing the SQL value in the specified column
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getParameterMetaData
public ParameterMetaData getParameterMetaData() throws SQLException(Code)
Retrieves the ParameterMetaData associated with the connection handle associated this this JdbcRowSet object. the ParameterMetadata associatedwith the rowset's connection.
throws:
  SQLException - if a database access error occurs



getPreparedStatement
protected PreparedStatement getPreparedStatement()(Code)
Gets this JdbcRowSet object's PreparedStatement property the PreparedStatement object associated with this rowset;



getRef
public Ref getRef(int i) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Ref object.
Parameters:
  i - the first column is 1, the second is 2, and so on a Ref object representing an SQL REF value
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getRef
public Ref getRef(String colName) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a Ref object.
Parameters:
  colName - the column name a Ref object representing the SQL REF value inthe specified column
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getResultSet
protected ResultSet getResultSet() throws SQLException(Code)
Gets this JdbcRowSet object's ResultSet property the ResultSet object associated with this rowset;



getRow
public int getRow() throws SQLException(Code)
Retrieves the current row number. The first row is number 1, the second is number 2, and so on. the current row number; 0 if there is no current row
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



getRowId
public RowId getRowId(int columnIndex) throws SQLException(Code)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.RowId object in the Java programming language.
Parameters:
  columnIndex - the first column is 1, the second 2, ... the column value if the value is a SQL NULL thevalue returned is null
throws:
  SQLException - if a database access error occurs
since:
   6.0



getRowId
public RowId getRowId(String columnName) throws SQLException(Code)
Retrieves the value of the designated column in the current row of this ResultSet object as a java.sql.RowId object in the Java programming language.
Parameters:
  columnName - the name of the column the column value if the value is a SQL NULL thevalue returned is null
throws:
  SQLException - if a database access error occurs
since:
   6.0



getRowSetWarnings
public RowSetWarning getRowSetWarnings() throws SQLException(Code)
Return the RowSetWarning object for the current row of a JdbcRowSetImpl



getSQLXML
public SQLXML getSQLXML(int columnIndex) throws SQLException(Code)
Retrieves the value of the designated SQL XML parameter as a SQLXML object in the Java programming language.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... a SQLXML object that maps an SQL XML value
throws:
  SQLException - if a database access error occurs
since:
   6.0



getSQLXML
public SQLXML getSQLXML(String colName) throws SQLException(Code)
Retrieves the value of the designated SQL XML parameter as a SQLXML object in the Java programming language.
Parameters:
  colName - the name of the column from which to retrieve the value a SQLXML object that maps an SQL XML value
throws:
  SQLException - if a database access error occurs



getShort
public short getShort(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a short.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getShort
public short getShort(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a short.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is 0
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getStatement
public java.sql.Statement getStatement() throws SQLException(Code)
Returns the Statement object that produced this ResultSet object. If the result set was generated some other way, such as by a DatabaseMetaData method, this method returns null. the Statment object that produced this rowset's ResultSet object or nullif the result set was produced some other way
throws:
  SQLException - if a database access error occurs



getString
public String getString(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a String.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not currently have a valid connection,prepared statement, and result set



getString
public String getString(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a String.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getTime
public java.sql.Time getTime(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object in the Java programming language.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getTime
public java.sql.Time getTime(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object in the Java programming language.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL,the value returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getTime
public java.sql.Time getTime(int columnIndex, Calendar cal) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object. This method uses the given calendar to construct an appropriate millisecond value for the date if the underlying database does not store timezone information.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  cal - the java.util.Calendar objectto use in constructing the time the column value as a java.sql.Time object;if the value is SQL NULL,the value returned is null in the Java programming language
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



getTime
public java.sql.Time getTime(String columnName, Calendar cal) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Time object. This method uses the given calendar to construct an appropriate millisecond value for the date if the underlying database does not store timezone information.
Parameters:
  columnName - the SQL name of the column
Parameters:
  cal - the java.util.Calendar objectto use in constructing the time the column value as a java.sql.Time object;if the value is SQL NULL,the value returned is null in the Java programming language
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object in the Java programming language.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on the column value; if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getTimestamp
public java.sql.Timestamp getTimestamp(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object.
Parameters:
  columnName - the SQL name of the column the column value; if the value is SQL NULL, thevalue returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set



getTimestamp
public java.sql.Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object. This method uses the given calendar to construct an appropriate millisecond value for the timestamp if the underlying database does not store timezone information.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  cal - the java.util.Calendar objectto use in constructing the timestamp the column value as a java.sql.Timestamp object;if the value is SQL NULL,the value returned is null
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



getTimestamp
public java.sql.Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException(Code)
Returns the value of the designated column in the current row of this rowset's ResultSet object as a java.sql.Timestamp object. This method uses the given calendar to construct an appropriate millisecond value for the timestamp if the underlying database does not store timezone information.
Parameters:
  columnName - the SQL name of the column
Parameters:
  cal - the java.util.Calendar objectto use in constructing the timestamp the column value as a java.sql.Timestamp object;if the value is SQL NULL,the value returned is null
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



getType
public int getType() throws SQLException(Code)
Returns the fetch size for this ResultSet object. the current fetch size for this rowset's ResultSet object
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



getURL
public java.net.URL getURL(int columnIndex) throws SQLException(Code)
Provide interface coverage for getURL(int) in ResultSet->RowSet



getURL
public java.net.URL getURL(String columnName) throws SQLException(Code)
Provide interface coverage for getURL(String) in ResultSet->RowSet



getUnicodeStream
public java.io.InputStream getUnicodeStream(int columnIndex) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as as a stream of Unicode characters. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving largeLONGVARCHARvalues. The JDBC driver will do any necessary conversion from the database format into Unicode. The byte format of the Unicode stream must be Java UTF-8, as specified in the Java virtual machine specification.

Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getXXX method implicitly closes the stream. Also, a stream may return 0 when the method InputStream.available is called whether there is data available or not.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on a Java input stream that delivers the database column valueas a stream in Java UTF-8 byte format;if the value is SQL NULL, the value returned is null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set




getUnicodeStream
public java.io.InputStream getUnicodeStream(String columnName) throws SQLException(Code)
Gets the value of the designated column in the current row of this rowset's ResultSet object as a stream of Unicode characters. The value can then be read in chunks from the stream. This method is particularly suitable for retrieving large LONGVARCHAR values. The JDBC driver will do any necessary conversion from the database format into Unicode. The byte format of the Unicode stream must be Java UTF-8, as defined in the Java virtual machine specification.

Note: All the data in the returned stream must be read prior to getting the value of any other column. The next call to a getXXX method implicitly closes the stream. Also, a stream may return 0 when the method available is called whether there is data available or not.
Parameters:
  columnName - the SQL name of the column a Java input stream that delivers the database column valueas a stream of two-byte Unicode characters. If the value is SQL NULL,the value returned is null.
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set




getWarnings
public SQLWarning getWarnings() throws SQLException(Code)
Returns the first warning reported by calls on this rowset's ResultSet object. Subsequent warnings on this rowset's ResultSet object will be chained to the SQLWarning object that this method returns.

The warning chain is automatically cleared each time a new row is read.

Note: This warning chain only covers warnings caused by ResultSet methods. Any warning caused by Statement methods (such as reading OUT parameters) will be chained on the Statement object. the first SQLWarning object reported or null
throws:
  SQLException - if (1) a database access error occursor (2) this rowset does not have a currently valid connection,prepared statement, and result set




initMetaData
protected void initMetaData(RowSetMetaData md, ResultSetMetaData rsmd) throws SQLException(Code)
Initializes the given RowSetMetaData object with the values in the given ResultSetMetaData object.
Parameters:
  md - the RowSetMetaData object for thisJdbcRowSetImpl object, which will be set withvalues from rsmd
Parameters:
  rsmd - the ResultSetMetaData object from which newvalues for md will be read
throws:
  SQLException - if an error occurs



insertRow
public void insertRow() throws SQLException(Code)
Inserts the contents of the insert row into this ResultSet object and into the database and also notifies listeners that a row has changed. The cursor must be on the insert row when this method is called.
throws:
  SQLException - if (1) a database access error occurs,(2) this method is called when the cursor is noton the insert row, (3) not all non-nullable columns inthe insert row have been given a value, or (4) thisrowset does not currently have a valid connection,prepared statement, and result set



isAfterLast
public boolean isAfterLast() throws SQLException(Code)
Indicates whether the cursor is after the last row in this rowset's ResultSet object. true if the cursor is after the last row;false if the cursor is at any other position or theresult set contains no rows
throws:
  SQLException - if a database access error occursor this rowset does not currently have a validconnection, prepared statement, and result set



isBeforeFirst
public boolean isBeforeFirst() throws SQLException(Code)
Indicates whether the cursor is before the first row in this rowset's ResultSet object. true if the cursor is before the first row;false if the cursor is at any other position or theresult set contains no rows
throws:
  SQLException - if a database access error occursor this rowset does not currently have a validconnection, prepared statement, and result set



isClosed
public boolean isClosed() throws SQLException(Code)
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. true if this ResultSet object is closed; false if it is still open
throws:
  SQLException - if a database access error occurs
since:
   6.0



isFirst
public boolean isFirst() throws SQLException(Code)
Indicates whether the cursor is on the first row of this rowset's ResultSet object. true if the cursor is on the first row;false otherwise
throws:
  SQLException - if a database access error occursor this rowset does not currently have a validconnection, prepared statement, and result set



isLast
public boolean isLast() throws SQLException(Code)
Indicates whether the cursor is on the last row of this rowset's ResultSet object. Note: Calling the method isLast may be expensive because the JDBC driver might need to fetch ahead one row in order to determine whether the current row is the last row in the result set. true if the cursor is on the last row;false otherwise
throws:
  SQLException - if a database access error occursor this rowset does not currently have a validconnection, prepared statement, and result set



isWrapperFor
public boolean isWrapperFor(Class interfaces) throws SQLException(Code)



last
public boolean last() throws SQLException(Code)
Moves the cursor to the last row in this rowset's ResultSet object. true if the cursor is on a valid row;false if there are no rows in the result set
throws:
  SQLException - if (1) a database access error occurs,(2) the result set type is TYPE_FORWARD_ONLY,or (3) this rowset does not currently have a validconnection, prepared statement, and result set



moveToCurrentRow
public void moveToCurrentRow() throws SQLException(Code)
Moves the cursor to the remembered cursor position, usually the current row. This method has no effect if the cursor is not on the insert row.
throws:
  SQLException - if (1) a database access error occurs,(2) this rowset's ResultSet object isnot updatable, or (3) this rowset does notcurrently have a valid connection, prepared statement, and result set



moveToInsertRow
public void moveToInsertRow() throws SQLException(Code)
Moves the cursor to the insert row. The current cursor position is remembered while the cursor is positioned on the insert row. The insert row is a special row associated with an updatable result set. It is essentially a buffer where a new row may be constructed by calling the updateXXX methods prior to inserting the row into the result set. Only the updateXXX, getXXX, and insertRow methods may be called when the cursor is on the insert row. All of the columns in a result set must be given a value each time this method is called before calling insertRow. An updateXXX method must be called before a getXXX method can be called on a column value.
throws:
  SQLException - if (1) a database access error occurs,(2) this rowset's ResultSet object isnot updatable, or (3) this rowset does notcurrently have a valid connection, prepared statement, and result set



next
public boolean next() throws SQLException(Code)
Moves the cursor for this rowset's ResultSet object down one row from its current position. A ResultSet cursor is initially positioned before the first row; the first call to the method next makes the first row the current row; the second call makes the second row the current row, and so on.

If an input stream is open for the current row, a call to the method next will implicitly close it. A ResultSet object's warning chain is cleared when a new row is read. true if the new current row is valid; false if there are no more rows
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set




prepare
protected PreparedStatement prepare() throws SQLException(Code)



previous
public boolean previous() throws SQLException(Code)
Moves the cursor to the previous row in this ResultSet object.

Note: Calling the method previous() is not the same as calling the method relative(-1) because it makes sense to call previous() when there is no current row. true if the cursor is on a valid row; false if it is off the result set
throws:
  SQLException - if (1) a database access error occurs,(2) the result set type is TYPE_FORWARD_ONLY,or (3) this rowset does not currently have a validconnection, prepared statement, and result set




readObject
protected void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException(Code)
This method re populates the resBundle during the deserialization process



refreshRow
public void refreshRow() throws SQLException(Code)
Refreshes the current row of this rowset's ResultSet object with its most recent value in the database. This method cannot be called when the cursor is on the insert row.

The refreshRow method provides a way for an application to explicitly tell the JDBC driver to refetch a row(s) from the database. An application may want to call refreshRow when caching or prefetching is being done by the JDBC driver to fetch the latest value of a row from the database. The JDBC driver may actually refresh multiple rows at once if the fetch size is greater than one.

All values are refetched subject to the transaction isolation level and cursor sensitivity. If refreshRow is called after calling an updateXXX method, but before calling the method updateRow, then the updates made to the row are lost. Calling the method refreshRow frequently will likely slow performance.
throws:
  SQLException - if (1) a database access error occurs,(2) this method is called when the cursor is on the insert row, or (3) this rowset does notcurrently have a valid connection, prepared statement, and result set




relative
public boolean relative(int rows) throws SQLException(Code)
Moves the cursor a relative number of rows, either positive or negative. Attempting to move beyond the first/last row in the result set positions the cursor before/after the the first/last row. Calling relative(0) is valid, but does not change the cursor position.

Note: Calling the method relative(1) is different from calling the method next() because is makes sense to call next() when there is no current row, for example, when the cursor is positioned before the first row or after the last row of the result set. true if the cursor is on a row;false otherwise
throws:
  SQLException - if (1) a database access error occurs,(2) there is no current row, (3) the result set type is TYPE_FORWARD_ONLY, or (4) thisrowset does not currently have a valid connection,prepared statement, and result set




rollback
public void rollback() throws SQLException(Code)
Rolls back all the updates in this JdbcRowSet object by wrapping the internal Connection object and calling its rollback method. This method sets this JdbcRowSet object's private field rs to null after saving its value to another object. (The field rs is this JdbcRowSet object's internal ResultSet object.)
throws:
  SQLException - if autoCommit is set to true or a databaseaccess error occurs



rollback
public void rollback(Savepoint s) throws SQLException(Code)
Rollbacks all the updates in the JdbcRowSet back to the last Savepoint transaction marker. Wraps the internal Connection object and call it's rollback method
Parameters:
  s - the Savepoint transaction marker to roll thetransaction to.
throws:
  SQLException - if autoCommit is set to true; or ia a databaseaccess error occurs



rowDeleted
public boolean rowDeleted() throws SQLException(Code)
Indicates whether a row has been deleted. A deleted row may leave a visible "hole" in a result set. This method can be used to detect holes in a result set. The value returned depends on whether or not this rowset's ResultSet object can detect deletions. true if a row was deleted and deletions are detected;false otherwise
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set
See Also:   java.sql.DatabaseMetaData.deletesAreDetected



rowInserted
public boolean rowInserted() throws SQLException(Code)
Indicates whether the current row has had an insertion. The value returned depends on whether or not this ResultSet object can detect visible inserts. true if a row has had an insertionand insertions are detected; false otherwise
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set
See Also:   java.sql.DatabaseMetaData.insertsAreDetected



rowUpdated
public boolean rowUpdated() throws SQLException(Code)
Indicates whether the current row has been updated. The value returned depends on whether or not the result set can detect updates. true if the row has been visibly updatedby the owner or another, and updates are detected
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set
See Also:   java.sql.DatabaseMetaData.updatesAreDetected



setAsciiStream
public void setAsciiStream(String parameterName, java.io.InputStream x, int length) throws SQLException(Code)
Sets the designated parameter to the given input stream, which will have the specified number of bytes. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream. Data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from ASCII to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the Java input stream that contains the ASCII parameter value
Parameters:
  length - the number of bytes in the stream
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.4




setAsciiStream
public void setAsciiStream(String parameterName, java.io.InputStream x) throws SQLException(Code)
Sets the designated parameter to the given input stream. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream. Data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from ASCII to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setAsciiStream which takes a length parameter.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the Java input stream that contains the ASCII parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6




setAutoCommit
public void setAutoCommit(boolean autoCommit) throws SQLException(Code)
Sets auto-commit on the internal Connection object with this JdbcRowSet
throws:
  SQLException - if a database access error occurs



setBigDecimal
public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException(Code)
Sets the designated parameter to the given java.math.BigDecimal value. The driver converts this to an SQL NUMERIC value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getBigDecimal
since:
   1.4



setBinaryStream
public void setBinaryStream(String parameterName, java.io.InputStream x, int length) throws SQLException(Code)
Sets the designated parameter to the given input stream, which will have the specified number of bytes. When a very large binary value is input to a LONGVARBINARY parameter, it may be more practical to send it via a java.io.InputStream object. The data will be read from the stream as needed until end-of-file is reached.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the java input stream which contains the binary parameter value
Parameters:
  length - the number of bytes in the stream
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.4




setBinaryStream
public void setBinaryStream(String parameterName, java.io.InputStream x) throws SQLException(Code)
Sets the designated parameter to the given input stream. When a very large binary value is input to a LONGVARBINARY parameter, it may be more practical to send it via a java.io.InputStream object. The data will be read from the stream as needed until end-of-file is reached.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setBinaryStream which takes a length parameter.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the java input stream which contains the binary parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6




setBlob
public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException(Code)
Sets the designated parameter to a InputStream object. The inputstream must contain the number of characters specified by length otherwise a SQLException will be generated when the PreparedStatement is executed. This method differs from the setBinaryStream (int, InputStream, int) method because it informs the driver that the parameter value should be sent to the server as a BLOB. When the setBinaryStream method is used, the driver may have to do extra work to determine whether the parameter data should be sent to the server as a LONGVARBINARY or a BLOB
Parameters:
  parameterIndex - index of the first parameter is 1,the second is 2, ...
Parameters:
  inputStream - An object that contains the data to set the parametervalue to.
Parameters:
  length - the number of bytes in the parameter data.
throws:
  SQLException - if a database access error occurs,this method is called on a closed PreparedStatement,if parameterIndex does not correspondto a parameter marker in the SQL statement, if the length specifiedis less than zero or if the number of bytes in the inputstream does not matchthe specfied length.
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6



setBlob
public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException(Code)
Sets the designated parameter to a InputStream object. This method differs from the setBinaryStream (int, InputStream) This method differs from the setBinaryStream (int, InputStream) method because it informs the driver that the parameter value should be sent to the server as a BLOB. When the setBinaryStream method is used, the driver may have to do extra work to determine whether the parameter data should be sent to the server as a LONGVARBINARY or a BLOB

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setBlob which takes a length parameter.
Parameters:
  parameterIndex - index of the first parameter is 1,the second is 2, ...
Parameters:
  inputStream - An object that contains the data to set the parametervalue to.
throws:
  SQLException - if a database access error occurs,this method is called on a closed PreparedStatement orif parameterIndex does not correspondto a parameter marker in the SQL statement,
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6




setBlob
public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException(Code)
Sets the designated parameter to a InputStream object. The inputstream must contain the number of characters specified by length, otherwise a SQLException will be generated when the CallableStatement is executed. This method differs from the setBinaryStream (int, InputStream, int) method because it informs the driver that the parameter value should be sent to the server as a BLOB. When the setBinaryStream method is used, the driver may have to do extra work to determine whether the parameter data should be sent to the server as a LONGVARBINARY or a BLOB
Parameters:
  parameterName - the name of the parameter to be setthe second is 2, ...
Parameters:
  inputStream - An object that contains the data to set the parametervalue to.
Parameters:
  length - the number of bytes in the parameter data.
throws:
  SQLException - if parameterIndex does not correspondto a parameter marker in the SQL statement, or if the length specifiedis less than zero; if the number of bytes in the inputstream does not matchthe specfied length; if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6



setBlob
public void setBlob(String parameterName, Blob x) throws SQLException(Code)
Sets the designated parameter to the given java.sql.Blob object. The driver converts this to an SQL BLOB value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - a Blob object that maps an SQL BLOB value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6



setBlob
public void setBlob(String parameterName, InputStream inputStream) throws SQLException(Code)
Sets the designated parameter to a InputStream object. This method differs from the setBinaryStream (int, InputStream) method because it informs the driver that the parameter value should be sent to the server as a BLOB. When the setBinaryStream method is used, the driver may have to do extra work to determine whether the parameter data should be send to the server as a LONGVARBINARY or a BLOB

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setBlob which takes a length parameter.
Parameters:
  parameterName - the name of the parameter
Parameters:
  inputStream - An object that contains the data to set the parametervalue to.
throws:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6




setBoolean
public void setBoolean(String parameterName, boolean x) throws SQLException(Code)
Sets the designated parameter to the given Java boolean value. The driver converts this to an SQL BIT or BOOLEAN value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
See Also:   JdbcRowSetImpl.getBoolean
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.4



setByte
public void setByte(String parameterName, byte x) throws SQLException(Code)
Sets the designated parameter to the given Java byte value. The driver converts this to an SQL TINYINT value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getByte
since:
   1.4



setBytes
public void setBytes(String parameterName, byte x) throws SQLException(Code)
Sets the designated parameter to the given Java array of bytes. The driver converts this to an SQL VARBINARY or LONGVARBINARY (depending on the argument's size relative to the driver's limits on VARBINARY values) when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getBytes
since:
   1.4



setCharacterStream
public void setCharacterStream(String parameterName, java.io.Reader reader, int length) throws SQLException(Code)
Sets the designated parameter to the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.
Parameters:
  parameterName - the name of the parameter
Parameters:
  reader - the java.io.Reader object thatcontains the UNICODE data used as the designated parameter
Parameters:
  length - the number of characters in the stream
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.4




setCharacterStream
public void setCharacterStream(String parameterName, java.io.Reader reader) throws SQLException(Code)
Sets the designated parameter to the given Reader object. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setCharacterStream which takes a length parameter.
Parameters:
  parameterName - the name of the parameter
Parameters:
  reader - the java.io.Reader object that contains theUnicode data
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6




setClob
public void setClob(String parameterName, Reader reader, long length) throws SQLException(Code)
Sets the designated parameter to a Reader object. The reader must contain the number of characters specified by length otherwise a SQLException will be generated when the CallableStatement is executed. This method differs from the setCharacterStream (int, Reader, int) method because it informs the driver that the parameter value should be sent to the server as a CLOB. When the setCharacterStream method is used, the driver may have to do extra work to determine whether the parameter data should be send to the server as a LONGVARCHAR or a CLOB
Parameters:
  parameterName - the name of the parameter to be set
Parameters:
  reader - An object that contains the data to set the parameter value to.
Parameters:
  length - the number of characters in the parameter data.
throws:
  SQLException - if parameterIndex does not correspond to a parametermarker in the SQL statement; if the length specified is less than zero;a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6



setClob
public void setClob(String parameterName, Clob x) throws SQLException(Code)
Sets the designated parameter to the given java.sql.Clob object. The driver converts this to an SQL CLOB value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - a Clob object that maps an SQL CLOB value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6



setClob
public void setClob(String parameterName, Reader reader) throws SQLException(Code)
Sets the designated parameter to a Reader object. This method differs from the setCharacterStream (int, Reader) method because it informs the driver that the parameter value should be sent to the server as a CLOB. When the setCharacterStream method is used, the driver may have to do extra work to determine whether the parameter data should be send to the server as a LONGVARCHAR or a CLOB

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setClob which takes a length parameter.
Parameters:
  parameterName - the name of the parameter
Parameters:
  reader - An object that contains the data to set the parameter value to.
throws:
  SQLException - if a database access error occurs or this method is called ona closed CallableStatement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6




setClob
public void setClob(int parameterIndex, Reader reader) throws SQLException(Code)
Sets the designated parameter to a Reader object. This method differs from the setCharacterStream (int, Reader) method because it informs the driver that the parameter value should be sent to the server as a CLOB. When the setCharacterStream method is used, the driver may have to do extra work to determine whether the parameter data should be sent to the server as a LONGVARCHAR or a CLOB

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setClob which takes a length parameter.
Parameters:
  parameterIndex - index of the first parameter is 1, the second is 2, ...
Parameters:
  reader - An object that contains the data to set the parameter value to.
throws:
  SQLException - if a database access error occurs, this method is called ona closed PreparedStatementor if parameterIndex does not correspond to a parametermarker in the SQL statement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6




setClob
public void setClob(int parameterIndex, Reader reader, long length) throws SQLException(Code)
Sets the designated parameter to a Reader object. The reader must contain the number of characters specified by length otherwise a SQLException will be generated when the PreparedStatement is executed. This method differs from the setCharacterStream (int, Reader, int) method because it informs the driver that the parameter value should be sent to the server as a CLOB. When the setCharacterStream method is used, the driver may have to do extra work to determine whether the parameter data should be sent to the server as a LONGVARCHAR or a CLOB
Parameters:
  parameterIndex - index of the first parameter is 1, the second is 2, ...
Parameters:
  reader - An object that contains the data to set the parameter value to.
Parameters:
  length - the number of characters in the parameter data.
throws:
  SQLException - if a database access error occurs, this method is called ona closed PreparedStatement, if parameterIndex does not correspond to a parametermarker in the SQL statement, or if the length specified is less than zero.
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6



setCommand
public void setCommand(String command) throws SQLException(Code)
Sets this JdbcRowSet object's command property to the given String object and clears the parameters, if any, that were set for the previous command. In addition, if the command property has previously been set to a non-null value and it is different from the String object supplied, this method sets this JdbcRowSet object's private fields ps and rs to null. (The field ps is its PreparedStatement object, and the field rs is its ResultSet object.)

The command property may not be needed if the RowSet object gets its data from a source that does not support commands, such as a spreadsheet or other tabular file. Thus, this property is optional and may be null.
Parameters:
  command - a String object containing an SQL querythat will be set as this RowSet object's command property; may be null but may not be an empty string
throws:
  SQLException - if an empty string is provided as the command value
See Also:   JdbcRowSetImpl.getCommand




setConcurrency
public void setConcurrency(int concur) throws SQLException(Code)
Sets the concurrency for this RowSet object to the specified concurrency. The default concurrency for any RowSet object (connected or disconnected) is ResultSet.CONCUR_UPDATABLE, but this method may be called at any time to change the concurrency.
Parameters:
  concur - one of the following constants:ResultSet.CONCUR_READ_ONLY orResultSet.CONCUR_UPDATABLE
throws:
  SQLException - if the parameter supplied is not one of the following constants:ResultSet.CONCUR_UPDATABLE orResultSet.CONCUR_READ_ONLY
See Also:   JdbcRowSetImpl.getConcurrency
See Also:   JdbcRowSetImpl.isReadOnly



setConnection
protected void setConnection(Connection connection)(Code)
Sets this JdbcRowSet object's connection property to the given Connection object.
Parameters:
  connection - the Connection object.



setDataSourceName
public void setDataSourceName(String dsName) throws SQLException(Code)
Sets the dataSourceName property for this JdbcRowSet object to the given logical name and sets this JdbcRowSet object's Url property to null. In addition, if the dataSourceName property has previously been set and is different from the one supplied, this method sets this JdbcRowSet object's private fields ps, rs, and conn to null. (The field ps is its PreparedStatement object, the field rs is its ResultSet object, and the field conn is its Connection object.)

The name supplied to this method must have been bound to a DataSource object in a JNDI naming service so that an application can do a lookup using that name to retrieve the DataSource object bound to it. The DataSource object can then be used to establish a connection to the data source it represents.

Users should set either the Url property or the dataSourceName property. If both properties are set, the driver will use the property set most recently.
Parameters:
  dsName - a String object with the name that can be suppliedto a naming service based on JNDI technology to retrieve theDataSource object that can be used to get a connection;may be null
throws:
  SQLException - if there is a problem setting the dataSourceName property
See Also:   JdbcRowSetImpl.getDataSourceName




setDate
public void setDate(String parameterName, java.sql.Date x) throws SQLException(Code)
Sets the designated parameter to the given java.sql.Date value using the default time zone of the virtual machine that is running the application. The driver converts this to an SQL DATE value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getDate
since:
   1.4



setDate
public void setDate(String parameterName, java.sql.Date x, Calendar cal) throws SQLException(Code)
Sets the designated parameter to the given java.sql.Date value, using the given Calendar object. The driver uses the Calendar object to construct an SQL DATE value, which the driver then sends to the database. With a a Calendar object, the driver can calculate the date taking into account a custom timezone. If no Calendar object is specified, the driver uses the default timezone, which is that of the virtual machine running the application.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
Parameters:
  cal - the Calendar object the driver will useto construct the date
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getDate
since:
   1.4



setDouble
public void setDouble(String parameterName, double x) throws SQLException(Code)
Sets the designated parameter to the given Java double value. The driver converts this to an SQL DOUBLE value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getDouble
since:
   1.4



setFetchDirection
public void setFetchDirection(int direction) throws SQLException(Code)
Gives a hint as to the direction in which the rows in this ResultSet object will be processed. The initial value is determined by the Statement object that produced this rowset's ResultSet object. The fetch direction may be changed at any time.
throws:
  SQLException - if (1) a database access error occurs,(2) the result set type is TYPE_FORWARD_ONLYand the fetch direction is not FETCH_FORWARD,or (3) this rowset does not currently have a validconnection, prepared statement, and result set
See Also:   java.sql.Statement.setFetchDirection



setFetchSize
public void setFetchSize(int rows) throws SQLException(Code)
Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this ResultSet object. If the fetch size specified is zero, the JDBC driver ignores the value and is free to make its own best guess as to what the fetch size should be. The default value is set by the Statement object that created the result set. The fetch size may be changed at any time.
Parameters:
  rows - the number of rows to fetch
throws:
  SQLException - if (1) a database access error occurs, (2) thecondition 0 <= rows <= this.getMaxRows() is notsatisfied, or (3) this rowset does not currently have a validconnection, prepared statement, and result set



setFloat
public void setFloat(String parameterName, float x) throws SQLException(Code)
Sets the designated parameter to the given Java float value. The driver converts this to an SQL FLOAT value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getFloat
since:
   1.4



setInt
public void setInt(String parameterName, int x) throws SQLException(Code)
Sets the designated parameter to the given Java int value. The driver converts this to an SQL INTEGER value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getInt
since:
   1.4



setLong
public void setLong(String parameterName, long x) throws SQLException(Code)
Sets the designated parameter to the given Java long value. The driver converts this to an SQL BIGINT value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getLong
since:
   1.4



setMatchColumn
public void setMatchColumn(int[] columnIdxes) throws SQLException(Code)
Sets the designated parameter to the given int array. This forms the basis of the join for the JoinRowSet as the column which will form the basis of the join.

The parameter value set by this method is stored internally and will be supplied as the appropriate parameter in this rowset's command when the method getMatchColumnIndexes is called.
Parameters:
  columnIdxes - the indexes into this rowsetobject's internal representation of parameter values; thefirst parameter is 0, the second is 1, and so on; must be0 or greater
throws:
  SQLException - if an error occurs or theparameter index is out of bounds




setMatchColumn
public void setMatchColumn(String[] columnNames) throws SQLException(Code)
Sets the designated parameter to the given String array. This forms the basis of the join for the JoinRowSet as the column which will form the basis of the join.

The parameter value set by this method is stored internally and will be supplied as the appropriate parameter in this rowset's command when the method getMatchColumn is called.
Parameters:
  columnNames - the name of the column into this rowsetobject's internal representation of parameter values
throws:
  SQLException - if an error occurs or theparameter index is out of bounds




setMatchColumn
public void setMatchColumn(int columnIdx) throws SQLException(Code)
Sets the designated parameter to the given int object. This forms the basis of the join for the JoinRowSet as the column which will form the basis of the join.

The parameter value set by this method is stored internally and will be supplied as the appropriate parameter in this rowset's command when the method getMatchColumn is called.
Parameters:
  columnIdx - the index into this rowsetobject's internal representation of parameter values; thefirst parameter is 0, the second is 1, and so on; must be0 or greater
throws:
  SQLException - if an error occurs or theparameter index is out of bounds




setMatchColumn
public void setMatchColumn(String columnName) throws SQLException(Code)
Sets the designated parameter to the given String object. This forms the basis of the join for the JoinRowSet as the column which will form the basis of the join.

The parameter value set by this method is stored internally and will be supplied as the appropriate parameter in this rowset's command when the method getMatchColumn is called.
Parameters:
  columnName - the name of the column into this rowsetobject's internal representation of parameter values
throws:
  SQLException - if an error occurs or theparameter index is out of bounds




setMaxRows
public void setMaxRows(int mRows) throws SQLException(Code)
Sets the maximum number of rows that this RowSet object may contain to the given number. If this limit is exceeded, the excess rows are silently dropped.
Parameters:
  mRows - an int indicating the current maximum number of rows; zero means that there is no limit
throws:
  SQLException - if an error occurs internally setting themaximum limit on the number of rows that a JDBC RowSet objectcan contain; or if max is less than 0; or if max is less than the fetchSize of the RowSet



setNCharacterStream
public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException(Code)
Sets the designated parameter in this RowSet object's command to a Reader object. The Reader 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.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setNCharacterStream which takes a length parameter.
Parameters:
  parameterIndex - of the first parameter is 1, the second is 2, ...
Parameters:
  value - the parameter value
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur ; if a database access error occurs; orthis method is called on a closed PreparedStatement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6




setNCharacterStream
public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException(Code)
Sets the designated parameter to a Reader object. The Reader 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.
Parameters:
  parameterIndex - of the first parameter is 1, the second is 2, ...
Parameters:
  value - the parameter value
Parameters:
  length - the number of characters in the parameter data.
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur ; or if a database access error occurs
since:
   1.6



setNCharacterStream
public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException(Code)
Sets the designated parameter to a Reader object. The Reader 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.
Parameters:
  parameterName - the name of the column to be set
Parameters:
  value - the parameter value
Parameters:
  length - the number of characters in the parameter data.
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur; or if a database access error occurs
since:
   1.6



setNCharacterStream
public void setNCharacterStream(String parameterName, Reader value) throws SQLException(Code)
Sets the designated parameter to a Reader object. The Reader 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.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setNCharacterStream which takes a length parameter.
Parameters:
  parameterName - the name of the parameter
Parameters:
  value - the parameter value
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur ; if a database access error occurs; orthis method is called on a closed CallableStatement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6




setNClob
public void setNClob(String parameterName, NClob value) throws SQLException(Code)
Sets the designated parameter to a java.sql.NClob object. The object implements the java.sql.NClob interface. This NClob object maps to a SQL NCLOB.
Parameters:
  parameterName - the name of the column to be set
Parameters:
  value - the parameter value
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur; or if a database access error occurs
since:
   1.6



setNClob
public void setNClob(int parameterIndex, Reader reader) throws SQLException(Code)
Sets the designated parameter to a Reader object. This method differs from the setCharacterStream (int, Reader) method because it informs the driver that the parameter value should be sent to the server as a NCLOB. When the setCharacterStream method is used, the driver may have to do extra work to determine whether the parameter data should be sent to the server as a LONGNVARCHAR or a NCLOB

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setNClob which takes a length parameter.
Parameters:
  parameterIndex - index of the first parameter is 1, the second is 2, ...
Parameters:
  reader - An object that contains the data to set the parameter value to.
throws:
  SQLException - if parameterIndex does not correspond to a parametermarker in the SQL statement;if the driver does not support national character sets;if the driver can detect that a data conversionerror could occur; if a database access error occurs orthis method is called on a closed PreparedStatement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6




setNClob
public void setNClob(String parameterName, Reader reader, long length) throws SQLException(Code)
Sets the designated parameter to a Reader object. The reader must contain the number of characters specified by length otherwise a SQLException will be generated when the CallableStatement is executed. This method differs from the setCharacterStream (int, Reader, int) method because it informs the driver that the parameter value should be sent to the server as a NCLOB. When the setCharacterStream method is used, the driver may have to do extra work to determine whether the parameter data should be send to the server as a LONGNVARCHAR or a NCLOB
Parameters:
  parameterName - the name of the parameter to be set
Parameters:
  reader - An object that contains the data to set the parameter value to.
Parameters:
  length - the number of characters in the parameter data.
throws:
  SQLException - if parameterIndex does not correspond to a parametermarker in the SQL statement; if the length specified is less than zero;if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur; if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6



setNClob
public void setNClob(String parameterName, Reader reader) throws SQLException(Code)
Sets the designated parameter to a Reader object. This method differs from the setCharacterStream (int, Reader) method because it informs the driver that the parameter value should be sent to the server as a NCLOB. When the setCharacterStream method is used, the driver may have to do extra work to determine whether the parameter data should be send to the server as a LONGNVARCHAR or a NCLOB

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setNClob which takes a length parameter.
Parameters:
  parameterName - the name of the parameter
Parameters:
  reader - An object that contains the data to set the parameter value to.
throws:
  SQLException - if the driver does not support national character sets;if the driver can detect that a data conversionerror could occur; if a database access error occurs orthis method is called on a closed CallableStatement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6




setNClob
public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException(Code)
of characters specified by length otherwise a SQLException will becontain the number generated when the PreparedStatement is executed. This method differs from the setCharacterStream (int, Reader, int) method because it informs the driver that the parameter value should be sent to the server as a NCLOB. When the setCharacterStream method is used, the driver may have to do extra work to determine whether the parameter data should be sent to the server as a LONGNVARCHAR or a NCLOB
Parameters:
  parameterIndex - index of the first parameter is 1, the second is 2, ...
Parameters:
  reader - An object that contains the data to set the parameter value to.
Parameters:
  length - the number of characters in the parameter data.
throws:
  SQLException - if parameterIndex does not correspond to a parametermarker in the SQL statement; if the length specified is less than zero;if the driver does not support national character sets;if the driver can detect that a data conversionerror could occur; if a database access error occurs orthis method is called on a closed PreparedStatement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.6



setNClob
public void setNClob(int parameterIndex, NClob value) throws SQLException(Code)
Sets the designated parameter to a java.sql.NClob object. The driver converts this to a SQL NCLOB value when it sends it to the database.
Parameters:
  parameterIndex - of the first parameter is 1, the second is 2, ...
Parameters:
  value - the parameter value
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur ; or if a database access error occurs
since:
   1.6



setNString
public void setNString(int parameterIndex, String value) throws SQLException(Code)
Sets the designated paramter to the given String object. The driver converts this to a SQL NCHAR or NVARCHAR or LONGNVARCHAR value (depending on the argument's size relative to the driver's limits on NVARCHAR values) when it sends it to the database.
Parameters:
  parameterIndex - of the first parameter is 1, the second is 2, ...
Parameters:
  value - the parameter value
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur ; or if a database access error occurs
since:
   1.6



setNString
public void setNString(String parameterName, String value) throws SQLException(Code)
Sets the designated paramter to the given String object. The driver converts this to a SQL NCHAR or NVARCHAR or LONGNVARCHAR
Parameters:
  parameterName - the name of the column to be set
Parameters:
  value - the parameter value
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur; or if a database access error occurs
since:
   1.6



setNull
public void setNull(String parameterName, int sqlType) throws SQLException(Code)
Sets the designated parameter to SQL NULL.

Note: You must specify the parameter's SQL type.
Parameters:
  parameterName - the name of the parameter
Parameters:
  sqlType - the SQL type code defined in java.sql.Types
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.4




setNull
public void setNull(String parameterName, int sqlType, String typeName) throws SQLException(Code)
Sets the designated parameter to SQL NULL. This version of the method setNull should be used for user-defined types and REF type parameters. Examples of user-defined types include: STRUCT, DISTINCT, JAVA_OBJECT, and named array types.

Note: To be portable, applications must give the SQL type code and the fully-qualified SQL type name when specifying a NULL user-defined or REF parameter. In the case of a user-defined type the name is the type name of the parameter itself. For a REF parameter, the name is the type name of the referenced type. If a JDBC driver does not need the type code or type name information, it may ignore it. Although it is intended for user-defined and Ref parameters, this method may be used to set a null parameter of any JDBC type. If the parameter does not have a user-defined or REF type, the given typeName is ignored.
Parameters:
  parameterName - the name of the parameter
Parameters:
  sqlType - a value from java.sql.Types
Parameters:
  typeName - the fully-qualified name of an SQL user-defined type;ignored if the parameter is not a user-defined type orSQL REF value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.4




setObject
public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException(Code)
Sets the value of the designated parameter with the given object. The second argument must be an object type; for integral values, the java.lang equivalent objects should be used.

The given Java object will be converted to the given targetSqlType before being sent to the database. If the object has a custom mapping (is of a class implementing the interface SQLData), the JDBC driver should call the method SQLData.writeSQL to write it to the SQL data stream. If, on the other hand, the object is of a class implementing Ref, Blob, Clob, NClob, Struct, java.net.URL, or Array, the driver should pass it to the database as a value of the corresponding SQL type.

Note that this method may be used to pass datatabase- specific abstract data types.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the object containing the input parameter value
Parameters:
  targetSqlType - the SQL type (as defined in java.sql.Types) to besent to the database. The scale argument may further qualify this type.
Parameters:
  scale - for java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types,this is the number of digits after the decimal point. For all othertypes, this value will be ignored.
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if targetSqlType isa ARRAY, BLOB, CLOB,DATALINK, JAVA_OBJECT, NCHAR,NCLOB, NVARCHAR, LONGNVARCHAR,REF, ROWID, SQLXMLor STRUCT data type and the JDBC driver does not supportthis data type
See Also:   Types
See Also:   JdbcRowSetImpl.getObject
since:
   1.4




setObject
public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException(Code)
Sets the value of the designated parameter with the given object. This method is like the method setObject above, except that it assumes a scale of zero.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the object containing the input parameter value
Parameters:
  targetSqlType - the SQL type (as defined in java.sql.Types) to besent to the database
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if targetSqlType isa ARRAY, BLOB, CLOB,DATALINK, JAVA_OBJECT, NCHAR,NCLOB, NVARCHAR, LONGNVARCHAR,REF, ROWID, SQLXMLor STRUCT data type and the JDBC driver does not supportthis data type
See Also:   JdbcRowSetImpl.getObject
since:
   1.4



setObject
public void setObject(String parameterName, Object x) throws SQLException(Code)
Sets the value of the designated parameter with the given object. The second parameter must be of type Object; therefore, the java.lang equivalent objects should be used for built-in types.

The JDBC specification specifies a standard mapping from Java Object types to SQL types. The given argument will be converted to the corresponding SQL type before being sent to the database.

Note that this method may be used to pass datatabase- specific abstract data types, by using a driver-specific Java type. If the object is of a class implementing the interface SQLData, the JDBC driver should call the method SQLData.writeSQL to write it to the SQL data stream. If, on the other hand, the object is of a class implementing Ref, Blob, Clob, NClob, Struct, java.net.URL, or Array, the driver should pass it to the database as a value of the corresponding SQL type.

This method throws an exception if there is an ambiguity, for example, if the object is of a class implementing more than one of the interfaces named above.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the object containing the input parameter value
exception:
  SQLException - if a database access error occurs,this method is called on a closed CallableStatement or if the givenObject parameter is ambiguous
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getObject
since:
   1.4




setParams
protected void setParams() throws SQLException(Code)



setPassword
public void setPassword(String password)(Code)
Sets the password property for this JdbcRowSet object to the given String object. Because it is not serialized, the password property is set at run time before calling the method execute. Its default valus is null. In addition, if the password property is already set with a non-null value and that value is different from the one being set, this method sets this JdbcRowSet object's private fields ps, rs, and conn to null. (The field ps is its PreparedStatement object, rs is its ResultSet object, and conn is its Connection object.) Setting these fields to null ensures that only current values will be used.
Parameters:
  password - the String object that represents the passwordthat must be supplied to the database to create a connection



setPreparedStatement
protected void setPreparedStatement(PreparedStatement preparedStatement)(Code)
Sets this JdbcRowSet object's preparedtsatement property to the given PreparedStatemennt object.
Parameters:
  preparedStatement - the PreparedStatement object



setProperties
protected void setProperties(PreparedStatement ps) throws SQLException(Code)



setResultSet
protected void setResultSet(ResultSet resultSet)(Code)
Sets this JdbcRowSet object's resultset property to the given ResultSet object.
Parameters:
  resultSet - the ResultSet object



setRowId
public void setRowId(int parameterIndex, RowId x) throws SQLException(Code)
Sets the designated parameter to the given java.sql.RowId object. The driver converts this to a SQL ROWID value when it sends it to the database
Parameters:
  parameterIndex - the first parameter is 1, the second is 2, ...
Parameters:
  x - the parameter value
throws:
  SQLException - if a database access error occurs
since:
   1.6



setRowId
public void setRowId(String parameterName, RowId x) throws SQLException(Code)
Sets the designated parameter to the given java.sql.RowId object. The driver converts this to a SQL ROWID when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
throws:
  SQLException - if a database access error occurs
since:
   1.6



setSQLXML
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException(Code)
Sets the designated parameter to the given java.sql.SQLXML object. The driver converts this to an SQL XML value when it sends it to the database.
Parameters:
  parameterIndex - index of the first parameter is 1, the second is 2, ...
Parameters:
  xmlObject - a SQLXML object that maps an SQL XML value
throws:
  SQLException - if a database access error occurs
since:
   1.6



setSQLXML
public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException(Code)
Sets the designated parameter to the given java.sql.SQLXML object. The driver converts this to an SQL XML value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  xmlObject - a SQLXML object that maps an SQL XML value
throws:
  SQLException - if a database access error occurs
since:
   1.6



setShort
public void setShort(String parameterName, short x) throws SQLException(Code)
Sets the designated parameter to the given Java short value. The driver converts this to an SQL SMALLINT value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getShort
since:
   1.4



setString
public void setString(String parameterName, String x) throws SQLException(Code)
Sets the designated parameter to the given Java String value. The driver converts this to an SQL VARCHAR or LONGVARCHAR value (depending on the argument's size relative to the driver's limits on VARCHAR values) when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getString
since:
   1.4



setTime
public void setTime(String parameterName, java.sql.Time x) throws SQLException(Code)
Sets the designated parameter to the given java.sql.Time value. The driver converts this to an SQL TIME value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getTime
since:
   1.4



setTime
public void setTime(String parameterName, java.sql.Time x, Calendar cal) throws SQLException(Code)
Sets the designated parameter to the given java.sql.Time value, using the given Calendar object. The driver uses the Calendar object to construct an SQL TIME value, which the driver then sends to the database. With a a Calendar object, the driver can calculate the time taking into account a custom timezone. If no Calendar object is specified, the driver uses the default timezone, which is that of the virtual machine running the application.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
Parameters:
  cal - the Calendar object the driver will useto construct the time
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getTime
since:
   1.4



setTimestamp
public void setTimestamp(String parameterName, java.sql.Timestamp x, Calendar cal) throws SQLException(Code)
Sets the designated parameter to the given java.sql.Timestamp value, using the given Calendar object. The driver uses the Calendar object to construct an SQL TIMESTAMP value, which the driver then sends to the database. With a a Calendar object, the driver can calculate the timestamp taking into account a custom timezone. If no Calendar object is specified, the driver uses the default timezone, which is that of the virtual machine running the application.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
Parameters:
  cal - the Calendar object the driver will useto construct the timestamp
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getTimestamp
since:
   1.4



setTimestamp
public void setTimestamp(String parameterName, java.sql.Timestamp x) throws SQLException(Code)
Sets the designated parameter to the given java.sql.Timestamp value. The driver converts this to an SQL TIMESTAMP value when it sends it to the database.
Parameters:
  parameterName - the name of the parameter
Parameters:
  x - the parameter value
exception:
  SQLException - if a database access error occurs orthis method is called on a closed CallableStatement
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
See Also:   JdbcRowSetImpl.getTimestamp
since:
   1.4



setTransactionIsolation
public void setTransactionIsolation(int transIso) throws SQLException(Code)
Sets the transaction isolation property for this JDBC RowSet object to the given constant. The DBMS will use this transaction isolation level for transactions if it can.

For RowSet implementations such as the CachedRowSet that operate in a disconnected environment, the SyncProvider object being used offers complementary locking and data integrity options. The options described below are pertinent only to connected RowSet objects (JdbcRowSet objects).
Parameters:
  transIso - one of the following constants, listed in ascending order:Connection.TRANSACTION_NONE,Connection.TRANSACTION_READ_UNCOMMITTED,Connection.TRANSACTION_READ_COMMITTED,Connection.TRANSACTION_REPEATABLE_READ, orConnection.TRANSACTION_SERIALIZABLE
throws:
  SQLException - if the given parameter is not one of the Connection constants
See Also:   javax.sql.rowset.spi.SyncFactory
See Also:   javax.sql.rowset.spi.SyncProvider
See Also:   
See Also:   JdbcRowSetImpl.getTransactionIsolation




setType
public void setType(int type) throws SQLException(Code)
Sets the type for this RowSet object to the specified type. The default type is ResultSet.TYPE_SCROLL_INSENSITIVE.
Parameters:
  type - one of the following constants:ResultSet.TYPE_FORWARD_ONLY,ResultSet.TYPE_SCROLL_INSENSITIVE, orResultSet.TYPE_SCROLL_SENSITIVE
throws:
  SQLException - if the parameter supplied is not one of the following constants:ResultSet.TYPE_FORWARD_ONLY orResultSet.TYPE_SCROLL_INSENSITIVEResultSet.TYPE_SCROLL_SENSITIVE
See Also:   JdbcRowSetImpl.getConcurrency
See Also:   JdbcRowSetImpl.getType



setURL
public void setURL(int parameterIndex, java.net.URL x) throws SQLException(Code)
Sets the designated parameter to the given java.net.URL value. The driver converts this to an SQL DATALINK value when it sends it to the database.
Parameters:
  parameterIndex - the first parameter is 1, the second is 2, ...
Parameters:
  x - the java.net.URL object to be set
exception:
  SQLException - if a database access error occurs orthis method is called on a closed PreparedStatement
throws:
  SQLFeatureNotSupportedException - if the JDBC driver does not support this method
since:
   1.4



setUrl
public void setUrl(String url) throws SQLException(Code)
Sets the Url property for this JdbcRowSet object to the given String object and sets the dataSource name property to null. In addition, if the Url property has previously been set to a non null value and its value is different from the value to be set, this method sets this JdbcRowSet object's private fields ps, rs, and conn to null. (The field ps is its PreparedStatement object, the field rs is its ResultSet object, and the field conn is its Connection object.)

The Url property is a JDBC URL that is used when the connection is created using a JDBC technology-enabled driver ("JDBC driver") and the DriverManager. The correct JDBC URL for the specific driver to be used can be found in the driver documentation. Although there are guidelines for for how a JDBC URL is formed, a driver vendor can specify any String object except one with a length of 0 (an empty string).

Setting the Url property is optional if connections are established using a DataSource object instead of the DriverManager. The driver will use either the URL property or the dataSourceName property to create a connection, whichever was specified most recently. If an application uses a JDBC URL, it must load a JDBC driver that accepts the JDBC URL before it uses the RowSet object to connect to a database. The RowSet object will use the URL internally to create a database connection in order to read or write data.
Parameters:
  url - a String object that contains the JDBC URLthat will be used to establish the connection to a database for this RowSet object; may be null but must notbe an empty string
throws:
  SQLException - if an error occurs setting the Url property or the parameter supplied is a string with a length of 0 (anempty string)
See Also:   JdbcRowSetImpl.getUrl




setUsername
public void setUsername(String uname)(Code)
Sets the username property for this JdbcRowSet object to the given user name. Because it is not serialized, the username property is set at run time before calling the method execute. In addition, if the username property is already set with a non-null value and that value is different from the String object to be set, this method sets this JdbcRowSet object's private fields ps, rs, and conn to null. (The field ps is its PreparedStatement object, rs is its ResultSet object, and conn is its Connection object.) Setting these fields to null ensures that only current values will be used.
Parameters:
  uname - the String object containing the user name thatis supplied to the data source to create a connection. It may be null.
See Also:   JdbcRowSetImpl.getUsername



unsetMatchColumn
public void unsetMatchColumn(int[] columnIdxes) throws SQLException(Code)
Unsets the designated parameter to the given int array. This was set using setMatchColumn as the column which will form the basis of the join.

The parameter value unset by this method should be same as was set.
Parameters:
  columnIdxes - the index into this rowsetobject's internal representation of parameter values
throws:
  SQLException - if an error occurs or theparameter index is out of bounds or if the columnIdx isnot the same as set using setMatchColumn(int [])




unsetMatchColumn
public void unsetMatchColumn(String[] columnIdxes) throws SQLException(Code)
Unsets the designated parameter to the given String array. This was set using setMatchColumn as the column which will form the basis of the join.

The parameter value unset by this method should be same as was set.
Parameters:
  columnIdxes - the index into this rowsetobject's internal representation of parameter values
throws:
  SQLException - if an error occurs or theparameter index is out of bounds or if the columnName isnot the same as set using setMatchColumn(String [])




unsetMatchColumn
public void unsetMatchColumn(int columnIdx) throws SQLException(Code)
Unsets the designated parameter to the given int object. This was set using setMatchColumn as the column which will form the basis of the join.

The parameter value unset by this method should be same as was set.
Parameters:
  columnIdx - the index into this rowsetobject's internal representation of parameter values
throws:
  SQLException - if an error occurs or theparameter index is out of bounds or if the columnIdx isnot the same as set using setMatchColumn(int)




unsetMatchColumn
public void unsetMatchColumn(String columnName) throws SQLException(Code)
Unsets the designated parameter to the given String object. This was set using setMatchColumn as the column which will form the basis of the join.

The parameter value unset by this method should be same as was set.
Parameters:
  columnName - the index into this rowsetobject's internal representation of parameter values
throws:
  SQLException - if an error occurs or theparameter index is out of bounds or if the columnName isnot the same as set using setMatchColumn(String)




unwrap
public T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException(Code)



updateArray
public void updateArray(int columnIndex, Array a) throws SQLException(Code)
Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Array values. This method updates a column value in either the current row or the insert row of this rowset, but it does not update the database. If the cursor is on a row in the rowset, the method JdbcRowSetImpl.updateRow must be called to update the database. If the cursor is on the insert row, the method JdbcRowSetImpl.insertRow must be called, which will insert the new row into both this rowset and the database. Both of these methods must be called before the cursor moves to another row.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on; must be 1 or largerand equal to or less than the number of columns in this rowset
Parameters:
  a - the new column Array value
throws:
  SQLException - if (1) the given column index is out of bounds,(2) the cursor is not on one of this rowset's rows or itsinsert row, or (3) this rowset is ResultSet.CONCUR_READ_ONLY



updateArray
public void updateArray(String columnName, Array a) throws SQLException(Code)
Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Array value. This method updates a column value in either the current row or the insert row of this rowset, but it does not update the database. If the cursor is on a row in the rowset, the method JdbcRowSetImpl.updateRow must be called to update the database. If the cursor is on the insert row, the method JdbcRowSetImpl.insertRow must be called, which will insert the new row into both this rowset and the database. Both of these methods must be called before the cursor moves to another row.
Parameters:
  columnName - a String object that must match theSQL name of a column in this rowset, ignoring case
Parameters:
  a - the new column Array value
throws:
  SQLException - if (1) the given column name does not match thename of a column in this rowset, (2) the cursor is not on one of this rowset's rows or its insert row, or (3) thisrowset is ResultSet.CONCUR_READ_ONLY



updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x, int length) throws SQLException(Code)
Updates the designated column with an ascii stream value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
Parameters:
  length - the length of the stream
throws:
  SQLException - if (1) a database access error occurs(2) or this rowset does not currently have a valid connection,prepared statement, and result set



updateAsciiStream
public void updateAsciiStream(String columnName, java.io.InputStream x, int length) throws SQLException(Code)
Updates the designated column with an ascii stream value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
Parameters:
  length - the length of the stream
throws:
  SQLException - if a database access error occurs



updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws SQLException(Code)
Updates the designated column with an ascii stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  x - the new column value
Parameters:
  length - the length of the stream
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6



updateAsciiStream
public void updateAsciiStream(String columnLabel, java.io.InputStream x, long length) throws SQLException(Code)
Updates the designated column with an ascii stream value, which will have the specified number of bytes.. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  x - the new column value
Parameters:
  length - the length of the stream
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6



updateAsciiStream
public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws SQLException(Code)
Updates the designated column with an ascii stream value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateAsciiStream which takes a length parameter.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLYor this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateAsciiStream
public void updateAsciiStream(String columnLabel, java.io.InputStream x) throws SQLException(Code)
Updates the designated column with an ascii stream value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateAsciiStream which takes a length parameter.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLYor this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateBigDecimal
public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException(Code)
Updates the designated column with a java.math.BigDecimal value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateBigDecimal
public void updateBigDecimal(String columnName, BigDecimal x) throws SQLException(Code)
Updates the designated column with a java.sql.BigDecimal value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x, int length) throws SQLException(Code)
Updates the designated column with a binary stream value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
Parameters:
  length - the length of the stream
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateBinaryStream
public void updateBinaryStream(String columnName, java.io.InputStream x, int length) throws SQLException(Code)
Updates the designated column with a binary stream value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
Parameters:
  length - the length of the stream
throws:
  SQLException - if a database access error occurs



updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws SQLException(Code)
Updates the designated column with a binary stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  x - the new column value
Parameters:
  length - the length of the stream
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6



updateBinaryStream
public void updateBinaryStream(String columnLabel, java.io.InputStream x, long length) throws SQLException(Code)
Updates the designated column with a binary stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  x - the new column value
Parameters:
  length - the length of the stream
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6



updateBinaryStream
public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws SQLException(Code)
Updates the designated column with a binary stream value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateBinaryStream which takes a length parameter.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLYor this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateBinaryStream
public void updateBinaryStream(String columnLabel, java.io.InputStream x) throws SQLException(Code)
Updates the designated column with a binary stream value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateBinaryStream which takes a length parameter.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLYor this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateBlob
public void updateBlob(int columnIndex, Blob b) throws SQLException(Code)
Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Blob value. This method updates a column value in either the current row or the insert row of this rowset, but it does not update the database. If the cursor is on a row in the rowset, the method JdbcRowSetImpl.updateRow must be called to update the database. If the cursor is on the insert row, the method JdbcRowSetImpl.insertRow must be called, which will insert the new row into both this rowset and the database. Both of these methods must be called before the cursor moves to another row.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on; must be 1 or largerand equal to or less than the number of columns in this rowset
Parameters:
  b - the new column Blob value
throws:
  SQLException - if (1) the given column index is out of bounds,(2) the cursor is not on one of this rowset's rows or itsinsert row, or (3) this rowset is ResultSet.CONCUR_READ_ONLY



updateBlob
public void updateBlob(String columnName, Blob b) throws SQLException(Code)
Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given java.sql.Blob value. This method updates a column value in either the current row or the insert row of this rowset, but it does not update the database. If the cursor is on a row in the rowset, the method JdbcRowSetImpl.updateRow must be called to update the database. If the cursor is on the insert row, the method JdbcRowSetImpl.insertRow must be called, which will insert the new row into both this rowset and the database. Both of these methods must be called before the cursor moves to another row.
Parameters:
  columnName - a String object that must match theSQL name of a column in this rowset, ignoring case
Parameters:
  b - the new column Blob value
throws:
  SQLException - if (1) the given column name does not match thename of a column in this rowset, (2) the cursor is not on one of this rowset's rows or its insert row, or (3) thisrowset is ResultSet.CONCUR_READ_ONLY



updateBlob
public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException(Code)
Updates the designated column using the given input stream, which will have the specified number of bytes. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream. Data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from ASCII to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  inputStream - An object that contains the data to set the parametervalue to.
Parameters:
  length - the number of bytes in the parameter data.
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateBlob
public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException(Code)
Updates the designated column using the given input stream, which will have the specified number of bytes. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream. Data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from ASCII to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  inputStream - An object that contains the data to set the parametervalue to.
Parameters:
  length - the number of bytes in the parameter data.
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateBlob
public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException(Code)
Updates the designated column using the given input stream. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream. Data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from ASCII to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateBlob which takes a length parameter.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  inputStream - An object that contains the data to set the parametervalue to.
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLYor this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateBlob
public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException(Code)
Updates the designated column using the given input stream. When a very large ASCII value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.InputStream. Data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from ASCII to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateBlob which takes a length parameter.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  inputStream - An object that contains the data to set the parametervalue to.
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLYor this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateBoolean
public void updateBoolean(int columnIndex, boolean x) throws SQLException(Code)
Updates the designated column with a boolean value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateBoolean
public void updateBoolean(String columnName, boolean x) throws SQLException(Code)
Updates the designated column with a boolean value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateByte
public void updateByte(int columnIndex, byte x) throws SQLException(Code)
Updates the designated column with a byte value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateByte
public void updateByte(String columnName, byte x) throws SQLException(Code)
Updates the designated column with a byte value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateBytes
public void updateBytes(int columnIndex, byte x) throws SQLException(Code)
Updates the designated column with a byte array value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateBytes
public void updateBytes(String columnName, byte x) throws SQLException(Code)
Updates the designated column with a boolean value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database. JDBC 2.0 Updates a column with a byte array value. The updateXXX methods are used to update column values in the current row, or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x, int length) throws SQLException(Code)
Updates the designated column with a character stream value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
Parameters:
  length - the length of the stream
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateCharacterStream
public void updateCharacterStream(String columnName, java.io.Reader reader, int length) throws SQLException(Code)
Updates the designated column with a character stream value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  reader - the new column Reader stream value
Parameters:
  length - the length of the stream
throws:
  SQLException - if a database access error occurs



updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException(Code)
Updates the designated column with a character stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  x - the new column value
Parameters:
  length - the length of the stream
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6



updateCharacterStream
public void updateCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException(Code)
Updates the designated column with a character stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  reader - the java.io.Reader object containingthe new column value
Parameters:
  length - the length of the stream
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6



updateCharacterStream
public void updateCharacterStream(int columnIndex, java.io.Reader x) throws SQLException(Code)
Updates the designated column with a character stream value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateCharacterStream which takes a length parameter.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLYor this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateCharacterStream
public void updateCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException(Code)
Updates the designated column with a character stream value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateCharacterStream which takes a length parameter.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  reader - the java.io.Reader object containingthe new column value
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLYor this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateClob
public void updateClob(int columnIndex, Clob c) throws SQLException(Code)
Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value. This method updates a column value in either the current row or the insert row of this rowset, but it does not update the database. If the cursor is on a row in the rowset, the method JdbcRowSetImpl.updateRow must be called to update the database. If the cursor is on the insert row, the method JdbcRowSetImpl.insertRow must be called, which will insert the new row into both this rowset and the database. Both of these methods must be called before the cursor moves to another row.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on; must be 1 or largerand equal to or less than the number of columns in this rowset
Parameters:
  c - the new column Clob value
throws:
  SQLException - if (1) the given column index is out of bounds,(2) the cursor is not on one of this rowset's rows or itsinsert row, or (3) this rowset is ResultSet.CONCUR_READ_ONLY



updateClob
public void updateClob(String columnName, Clob c) throws SQLException(Code)
Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value. This method updates a column value in either the current row or the insert row of this rowset, but it does not update the database. If the cursor is on a row in the rowset, the method JdbcRowSetImpl.updateRow must be called to update the database. If the cursor is on the insert row, the method JdbcRowSetImpl.insertRow must be called, which will insert the new row into both this rowset and the database. Both of these methods must be called before the cursor moves to another row.
Parameters:
  columnName - a String object that must match theSQL name of a column in this rowset, ignoring case
Parameters:
  c - the new column Clob value
throws:
  SQLException - if (1) the given column name does not match thename of a column in this rowset, (2) the cursor is not on one of this rowset's rows or its insert row, or (3) thisrowset is ResultSet.CONCUR_READ_ONLY



updateClob
public void updateClob(int columnIndex, Reader reader, long length) throws SQLException(Code)
Updates the designated column using the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  reader - An object that contains the data to set the parameter value to.
Parameters:
  length - the number of characters in the parameter data.
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateClob
public void updateClob(String columnLabel, Reader reader, long length) throws SQLException(Code)
Updates the designated column using the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  reader - An object that contains the data to set the parameter value to.
Parameters:
  length - the number of characters in the parameter data.
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateClob
public void updateClob(int columnIndex, Reader reader) throws SQLException(Code)
Updates the designated column using the given Reader object. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateClob which takes a length parameter.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  reader - An object that contains the data to set the parameter value to.
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLYor this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateClob
public void updateClob(String columnLabel, Reader reader) throws SQLException(Code)
Updates the designated column using the given Reader object. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateClob which takes a length parameter.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  reader - An object that contains the data to set the parameter value to.
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLYor this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateDate
public void updateDate(int columnIndex, java.sql.Date x) throws SQLException(Code)
Updates the designated column with a java.sql.Date value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateDate
public void updateDate(String columnName, java.sql.Date x) throws SQLException(Code)
Updates the designated column with a java.sql.Date value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateDouble
public void updateDouble(int columnIndex, double x) throws SQLException(Code)
Updates the designated column with a double value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateDouble
public void updateDouble(String columnName, double x) throws SQLException(Code)
Updates the designated column with a double value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateFloat
public void updateFloat(int columnIndex, float x) throws SQLException(Code)
Updates the designated column with a float value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateFloat
public void updateFloat(String columnName, float x) throws SQLException(Code)
Updates the designated column with a float value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateInt
public void updateInt(int columnIndex, int x) throws SQLException(Code)
Updates the designated column with an int value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateInt
public void updateInt(String columnName, int x) throws SQLException(Code)
Updates the designated column with an int value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateLong
public void updateLong(int columnIndex, long x) throws SQLException(Code)
Updates the designated column with a long value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateLong
public void updateLong(String columnName, long x) throws SQLException(Code)
Updates the designated column with a long value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException(Code)
Updates the designated column with a character stream value, which will have the specified number of bytes. The driver does the necessary conversion from Java character format to the national character set in the database. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  x - - the new column value
Parameters:
  length - - the length of the stream
exception:
  SQLException - if a database access error occurs
since:
   1.6



updateNCharacterStream
public void updateNCharacterStream(String columnName, java.io.Reader x, long length) throws SQLException(Code)
Updates the designated column with a character stream value, which will have the specified number of bytes. The driver does the necessary conversion from Java character format to the national character set in the database. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - - name of the Column
Parameters:
  x - - the new column value
Parameters:
  length - - the length of the stream
exception:
  SQLException - if a database access error occurs
since:
   1.6



updateNCharacterStream
public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws SQLException(Code)
Updates the designated column with a character stream value. The driver does the necessary conversion from Java character format to the national character set in the database. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateNCharacterStream which takes a length parameter.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  x - the new column value
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateNCharacterStream
public void updateNCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException(Code)
Updates the designated column with a character stream value. The driver does the necessary conversion from Java character format to the national character set in the database. It is intended for use when updating NCHAR,NVARCHAR and LONGNVARCHAR columns. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateNCharacterStream which takes a length parameter.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  reader - the java.io.Reader object containingthe new column value
exception:
  SQLException - if a database access error occurs,the result set concurrency is CONCUR_READ_ONLY or this method is called on a closed result set
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateNClob
public void updateNClob(int columnIndex, NClob nClob) throws SQLException(Code)



updateNClob
public void updateNClob(String columnName, NClob nClob) throws SQLException(Code)
This method is used for updating SQL NCLOB type that maps to java.sql.Types.NCLOB
Parameters:
  columnName - name of the column
Parameters:
  nClob - the value for the column to be updated
throws:
  SQLException - if a database access error occurs
since:
   6.0



updateNClob
public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException(Code)
Updates the designated column using the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second 2, ...
Parameters:
  reader - An object that contains the data to set the parameter value to.
Parameters:
  length - the number of characters in the parameter data.
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur; this method is called on a closed result set, if a database access error occurs orthe result set concurrency is CONCUR_READ_ONLY
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateNClob
public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException(Code)
Updates the designated column using the given Reader object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  reader - An object that contains the data to set the parameter value to.
Parameters:
  length - the number of characters in the parameter data.
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur; this method is called on a closed result set;if a database access error occurs orthe result set concurrency is CONCUR_READ_ONLY
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateNClob
public void updateNClob(int columnIndex, Reader reader) throws SQLException(Code)
Updates the designated column using the given Reader object. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateNClob which takes a length parameter.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second 2, ...
Parameters:
  reader - An object that contains the data to set the parameter value to.
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur; this method is called on a closed result set,if a database access error occurs orthe result set concurrency is CONCUR_READ_ONLY
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateNClob
public void updateNClob(String columnLabel, Reader reader) throws SQLException(Code)
Updates the designated column using the given Reader object. When a very large UNICODE value is input to a LONGVARCHAR parameter, it may be more practical to send it via a java.io.Reader object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.

Note: This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.

Note: Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateNClob which takes a length parameter.

The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnLabel - the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
Parameters:
  reader - An object that contains the data to set the parameter value to.
throws:
  SQLException - if the driver does not support nationalcharacter sets; if the driver can detect that a data conversionerror could occur; this method is called on a closed result set;if a database access error occurs orthe result set concurrency is CONCUR_READ_ONLY
exception:
  SQLFeatureNotSupportedException - if the JDBC driver does not supportthis method
since:
   1.6




updateNString
public void updateNString(int columnIndex, String nString) throws SQLException(Code)
This method is used for updating columns that support National Character sets. It can be used for updating NCHAR,NVARCHAR and LONGNVARCHAR columns.
Parameters:
  columnIndex - the first column is 1, the second 2, ...
Parameters:
  nString - the value for the column to be updated
throws:
  SQLException - if a database access error occurs
since:
   6.0



updateNString
public void updateNString(String columnName, String nString) throws SQLException(Code)
This method is used for updating columns that support National Character sets. It can be used for updating NCHAR,NVARCHAR and LONGNVARCHAR columns.
Parameters:
  columnName - name of the Column
Parameters:
  nString - the value for the column to be updated
throws:
  SQLException - if a database access error occurs
since:
   6.0



updateNull
public void updateNull(int columnIndex) throws SQLException(Code)
Gives a nullable column a null value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateNull
public void updateNull(String columnName) throws SQLException(Code)
Updates the designated column with a null value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateObject
public void updateObject(int columnIndex, Object x, int scale) throws SQLException(Code)
Updates the designated column with an Object value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
Parameters:
  scale - for java.sql.Types.DECIMAlor java.sql.Types.NUMERIC types,this is the number of digits after the decimal point. For all othertypes this value will be ignored.
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateObject
public void updateObject(int columnIndex, Object x) throws SQLException(Code)
Updates the designated column with an Object value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateObject
public void updateObject(String columnName, Object x, int scale) throws SQLException(Code)
Updates the designated column with an Object value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
Parameters:
  scale - for java.sql.Types.DECIMALor java.sql.Types.NUMERIC types,this is the number of digits after the decimal point. For all othertypes this value will be ignored.
throws:
  SQLException - if a database access error occurs



updateObject
public void updateObject(String columnName, Object x) throws SQLException(Code)
Updates the designated column with an Object value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateRef
public void updateRef(int columnIndex, java.sql.Ref ref) throws SQLException(Code)
Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value. This method updates a column value in either the current row or the insert row of this rowset, but it does not update the database. If the cursor is on a row in the rowset, the method JdbcRowSetImpl.updateRow must be called to update the database. If the cursor is on the insert row, the method JdbcRowSetImpl.insertRow must be called, which will insert the new row into both this rowset and the database. Both of these methods must be called before the cursor moves to another row.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on; must be 1 or largerand equal to or less than the number of columns in this rowset
Parameters:
  ref - the new Ref column value
throws:
  SQLException - if (1) the given column index is out of bounds,(2) the cursor is not on one of this rowset's rows or itsinsert row, or (3) this rowset is ResultSet.CONCUR_READ_ONLY



updateRef
public void updateRef(String columnName, java.sql.Ref ref) throws SQLException(Code)
Sets the designated column in either the current row or the insert row of this JdbcRowSetImpl object with the given double value. This method updates a column value in either the current row or the insert row of this rowset, but it does not update the database. If the cursor is on a row in the rowset, the method JdbcRowSetImpl.updateRow must be called to update the database. If the cursor is on the insert row, the method JdbcRowSetImpl.insertRow must be called, which will insert the new row into both this rowset and the database. Both of these methods must be called before the cursor moves to another row.
Parameters:
  columnName - a String object that must match theSQL name of a column in this rowset, ignoring case
Parameters:
  ref - the new column value
throws:
  SQLException - if (1) the given column name does not match thename of a column in this rowset, (2) the cursor is not on one of this rowset's rows or its insert row, or (3) thisrowset is ResultSet.CONCUR_READ_ONLY



updateRow
public void updateRow() throws SQLException(Code)
Updates the underlying database with the new contents of the current row of this rowset's ResultSet object and notifies listeners that a row has changed. This method cannot be called when the cursor is on the insert row.
throws:
  SQLException - if (1) a database access error occurs,(2) this method is called when the cursor is on the insert row, (3) the concurrency of the resultset is ResultSet.CONCUR_READ_ONLY, or(4) this rowset does not currently have a valid connection,prepared statement, and result set



updateRowId
public void updateRowId(int columnIndex, RowId x) throws SQLException(Code)
Updates the designated column with a RowId value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second 2, ...
Parameters:
  x - the column value
throws:
  SQLException - if a database access occurs
since:
   6.0



updateRowId
public void updateRowId(String columnName, RowId x) throws SQLException(Code)
Updates the designated column with a RowId value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the column value
throws:
  SQLException - if a database access occurs
since:
   6.0



updateSQLXML
public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException(Code)
Updates the designated column with a java.sql.SQLXML value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second 2, ...
Parameters:
  xmlObject - the value for the column to be updated
throws:
  SQLException - if a database access error occurs
since:
   1.6



updateSQLXML
public void updateSQLXML(String columnName, SQLXML xmlObject) throws SQLException(Code)
Updates the designated column with a java.sql.SQLXML value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  xmlObject - the column value
throws:
  SQLException - if a database access occurs
since:
   1.6



updateShort
public void updateShort(int columnIndex, short x) throws SQLException(Code)
Updates the designated column with a short value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateShort
public void updateShort(String columnName, short x) throws SQLException(Code)
Updates the designated column with a short value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateString
public void updateString(int columnIndex, String x) throws SQLException(Code)
Updates the designated column with a String value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateString
public void updateString(String columnName, String x) throws SQLException(Code)
Updates the designated column with a String value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateTime
public void updateTime(int columnIndex, java.sql.Time x) throws SQLException(Code)
Updates the designated column with a java.sql.Time value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateTime
public void updateTime(String columnName, java.sql.Time x) throws SQLException(Code)
Updates the designated column with a java.sql.Time value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



updateTimestamp
public void updateTimestamp(int columnIndex, java.sql.Timestamp x) throws SQLException(Code)
Updates the designated column with a java.sql.Timestamp value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnIndex - the first column is 1, the second is 2, and so on
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occursor this rowset does not currently have a valid connection,prepared statement, and result set



updateTimestamp
public void updateTimestamp(String columnName, java.sql.Timestamp x) throws SQLException(Code)
Updates the designated column with a java.sql.Timestamp value. The updateXXX methods are used to update column values in the current row or the insert row. The updateXXX methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.
Parameters:
  columnName - the name of the column
Parameters:
  x - the new column value
throws:
  SQLException - if a database access error occurs



wasNull
public boolean wasNull() throws SQLException(Code)
Reports whether the last column read from this rowset's ResultSet object had a value of SQL NULL. Note that you must first call one of the getXXX methods on a column to try to read its value and then call the method wasNull to see if the value read was SQL NULL. true if the last column value read was SQLNULL and false otherwise
throws:
  SQLException - if a database access error occursor this rowset does not have a currently valid connection,prepared statement, and result set



Fields inherited from javax.sql.rowset.BaseRowSet
final public static int ASCII_STREAM_PARAM(Code)(Java Doc)
final public static int BINARY_STREAM_PARAM(Code)(Java Doc)
final public static int UNICODE_STREAM_PARAM(Code)(Java Doc)
protected java.io.InputStream asciiStream(Code)(Java Doc)
protected java.io.InputStream binaryStream(Code)(Java Doc)
protected java.io.Reader charStream(Code)(Java Doc)
protected java.io.InputStream unicodeStream(Code)(Java Doc)

Methods inherited from javax.sql.rowset.BaseRowSet
public void addRowSetListener(RowSetListener listener)(Code)(Java Doc)
public void clearParameters() throws SQLException(Code)(Java Doc)
public String getCommand()(Code)(Java Doc)
public int getConcurrency() throws SQLException(Code)(Java Doc)
public String getDataSourceName()(Code)(Java Doc)
public boolean getEscapeProcessing() throws SQLException(Code)(Java Doc)
public int getFetchDirection() throws SQLException(Code)(Java Doc)
public int getFetchSize() throws SQLException(Code)(Java Doc)
public int getMaxFieldSize() throws SQLException(Code)(Java Doc)
public int getMaxRows() throws SQLException(Code)(Java Doc)
public Object[] getParams() throws SQLException(Code)(Java Doc)
public String getPassword()(Code)(Java Doc)
public int getQueryTimeout() throws SQLException(Code)(Java Doc)
public boolean getShowDeleted() throws SQLException(Code)(Java Doc)
public int getTransactionIsolation()(Code)(Java Doc)
public int getType() throws SQLException(Code)(Java Doc)
public java.util.Map<String, Class<?>> getTypeMap()(Code)(Java Doc)
public String getUrl() throws SQLException(Code)(Java Doc)
public String getUsername()(Code)(Java Doc)
protected void initParams()(Code)(Java Doc)
public boolean isReadOnly()(Code)(Java Doc)
protected void notifyCursorMoved() throws SQLException(Code)(Java Doc)
protected void notifyRowChanged() throws SQLException(Code)(Java Doc)
protected void notifyRowSetChanged() throws SQLException(Code)(Java Doc)
public void removeRowSetListener(RowSetListener listener)(Code)(Java Doc)
public void setArray(int parameterIndex, Array array) throws SQLException(Code)(Java Doc)
public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException(Code)(Java Doc)
public void setAsciiStream(int parameterIndex, java.io.InputStream x) throws SQLException(Code)(Java Doc)
public void setAsciiStream(String parameterName, java.io.InputStream x, int length) throws SQLException(Code)(Java Doc)
public void setAsciiStream(String parameterName, java.io.InputStream x) throws SQLException(Code)(Java Doc)
public void setBigDecimal(int parameterIndex, java.math.BigDecimal x) throws SQLException(Code)(Java Doc)
public void setBigDecimal(String parameterName, BigDecimal x) throws SQLException(Code)(Java Doc)
public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException(Code)(Java Doc)
public void setBinaryStream(int parameterIndex, java.io.InputStream x) throws SQLException(Code)(Java Doc)
public void setBinaryStream(String parameterName, java.io.InputStream x, int length) throws SQLException(Code)(Java Doc)
public void setBinaryStream(String parameterName, java.io.InputStream x) throws SQLException(Code)(Java Doc)
public void setBlob(int parameterIndex, Blob x) throws SQLException(Code)(Java Doc)
public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException(Code)(Java Doc)
public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException(Code)(Java Doc)
public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException(Code)(Java Doc)
public void setBlob(String parameterName, Blob x) throws SQLException(Code)(Java Doc)
public void setBlob(String parameterName, InputStream inputStream) throws SQLException(Code)(Java Doc)
public void setBoolean(int parameterIndex, boolean x) throws SQLException(Code)(Java Doc)
public void setBoolean(String parameterName, boolean x) throws SQLException(Code)(Java Doc)
public void setByte(int parameterIndex, byte x) throws SQLException(Code)(Java Doc)
public void setByte(String parameterName, byte x) throws SQLException(Code)(Java Doc)
public void setBytes(int parameterIndex, byte x) throws SQLException(Code)(Java Doc)
public void setBytes(String parameterName, byte x) throws SQLException(Code)(Java Doc)
public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException(Code)(Java Doc)
public void setCharacterStream(int parameterIndex, java.io.Reader reader) throws SQLException(Code)(Java Doc)
public void setCharacterStream(String parameterName, java.io.Reader reader, int length) throws SQLException(Code)(Java Doc)
public void setCharacterStream(String parameterName, java.io.Reader reader) throws SQLException(Code)(Java Doc)
public void setClob(int parameterIndex, Clob x) throws SQLException(Code)(Java Doc)
public void setClob(int parameterIndex, Reader reader, long length) throws SQLException(Code)(Java Doc)
public void setClob(int parameterIndex, Reader reader) throws SQLException(Code)(Java Doc)
public void setClob(String parameterName, Reader reader, long length) throws SQLException(Code)(Java Doc)
public void setClob(String parameterName, Clob x) throws SQLException(Code)(Java Doc)
public void setClob(String parameterName, Reader reader) throws SQLException(Code)(Java Doc)
public void setCommand(String cmd) throws SQLException(Code)(Java Doc)
public void setConcurrency(int concurrency) throws SQLException(Code)(Java Doc)
public void setDataSourceName(String name) throws SQLException(Code)(Java Doc)
public void setDate(int parameterIndex, java.sql.Date x) throws SQLException(Code)(Java Doc)
public void setDate(int parameterIndex, java.sql.Date x, Calendar cal) throws SQLException(Code)(Java Doc)
public void setDate(String parameterName, java.sql.Date x) throws SQLException(Code)(Java Doc)
public void setDate(String parameterName, java.sql.Date x, Calendar cal) throws SQLException(Code)(Java Doc)
public void setDouble(int parameterIndex, double x) throws SQLException(Code)(Java Doc)
public void setDouble(String parameterName, double x) throws SQLException(Code)(Java Doc)
public void setEscapeProcessing(boolean enable) throws SQLException(Code)(Java Doc)
public void setFetchDirection(int direction) throws SQLException(Code)(Java Doc)
public void setFetchSize(int rows) throws SQLException(Code)(Java Doc)
public void setFloat(int parameterIndex, float x) throws SQLException(Code)(Java Doc)
public void setFloat(String parameterName, float x) throws SQLException(Code)(Java Doc)
public void setInt(int parameterIndex, int x) throws SQLException(Code)(Java Doc)
public void setInt(String parameterName, int x) throws SQLException(Code)(Java Doc)
public void setLong(int parameterIndex, long x) throws SQLException(Code)(Java Doc)
public void setLong(String parameterName, long x) throws SQLException(Code)(Java Doc)
public void setMaxFieldSize(int max) throws SQLException(Code)(Java Doc)
public void setMaxRows(int max) throws SQLException(Code)(Java Doc)
public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException(Code)(Java Doc)
public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException(Code)(Java Doc)
public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException(Code)(Java Doc)
public void setNCharacterStream(String parameterName, Reader value) throws SQLException(Code)(Java Doc)
public void setNClob(String parameterName, NClob value) throws SQLException(Code)(Java Doc)
public void setNClob(String parameterName, Reader reader, long length) throws SQLException(Code)(Java Doc)
public void setNClob(String parameterName, Reader reader) throws SQLException(Code)(Java Doc)
public void setNClob(int parameterIndex, Reader reader, long length) throws SQLException(Code)(Java Doc)
public void setNClob(int parameterIndex, NClob value) throws SQLException(Code)(Java Doc)
public void setNClob(int parameterIndex, Reader reader) throws SQLException(Code)(Java Doc)
public void setNString(int parameterIndex, String value) throws SQLException(Code)(Java Doc)
public void setNString(String parameterName, String value) throws SQLException(Code)(Java Doc)
public void setNull(int parameterIndex, int sqlType) throws SQLException(Code)(Java Doc)
public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException(Code)(Java Doc)
public void setNull(String parameterName, int sqlType) throws SQLException(Code)(Java Doc)
public void setNull(String parameterName, int sqlType, String typeName) throws SQLException(Code)(Java Doc)
public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException(Code)(Java Doc)
public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException(Code)(Java Doc)
public void setObject(int parameterIndex, Object x) throws SQLException(Code)(Java Doc)
public void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException(Code)(Java Doc)
public void setObject(String parameterName, Object x, int targetSqlType) throws SQLException(Code)(Java Doc)
public void setObject(String parameterName, Object x) throws SQLException(Code)(Java Doc)
public void setPassword(String pass)(Code)(Java Doc)
public void setQueryTimeout(int seconds) throws SQLException(Code)(Java Doc)
public void setReadOnly(boolean value)(Code)(Java Doc)
public void setRef(int parameterIndex, Ref ref) throws SQLException(Code)(Java Doc)
public void setRowId(int parameterIndex, RowId x) throws SQLException(Code)(Java Doc)
public void setRowId(String parameterName, RowId x) throws SQLException(Code)(Java Doc)
public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException(Code)(Java Doc)
public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException(Code)(Java Doc)
public void setShort(int parameterIndex, short x) throws SQLException(Code)(Java Doc)
public void setShort(String parameterName, short x) throws SQLException(Code)(Java Doc)
public void setShowDeleted(boolean value) throws SQLException(Code)(Java Doc)
public void setString(int parameterIndex, String x) throws SQLException(Code)(Java Doc)
public void setString(String parameterName, String x) throws SQLException(Code)(Java Doc)
public void setTime(int parameterIndex, java.sql.Time x) throws SQLException(Code)(Java Doc)
public void setTime(int parameterIndex, java.sql.Time x, Calendar cal) throws SQLException(Code)(Java Doc)
public void setTime(String parameterName, java.sql.Time x) throws SQLException(Code)(Java Doc)
public void setTime(String parameterName, java.sql.Time x, Calendar cal) throws SQLException(Code)(Java Doc)
public void setTimestamp(int parameterIndex, java.sql.Timestamp x) throws SQLException(Code)(Java Doc)
public void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal) throws SQLException(Code)(Java Doc)
public void setTimestamp(String parameterName, java.sql.Timestamp x) throws SQLException(Code)(Java Doc)
public void setTimestamp(String parameterName, java.sql.Timestamp x, Calendar cal) throws SQLException(Code)(Java Doc)
public void setTransactionIsolation(int level) throws SQLException(Code)(Java Doc)
public void setType(int type) throws SQLException(Code)(Java Doc)
public void setTypeMap(java.util.Map<String, Class<?>> map)(Code)(Java Doc)
public void setURL(int parameterIndex, java.net.URL x) throws SQLException(Code)(Java Doc)
public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws SQLException(Code)(Java Doc)
public void setUrl(String url) throws SQLException(Code)(Java Doc)
public void setUsername(String name)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.