APIdia Launch Partner
Top Description Fields Methods
javax.sql

public Interface RowSet

extends ResultSet
Imports
java.sql.*, java.io.*, java.math.*, java.util.*

The interface that adds support to the JDBC API for the JavaBeans component model. A rowset, which can be used as a JavaBeans component in a visual Bean development environment, can be created and configured at design time and executed at run time.

The RowSet interface provides a set of JavaBeans properties that allow a RowSet instance to be configured to connect to a JDBC data source and read some data from the data source. A group of setter methods (setInt, setBytes, setString, and so on) provide a way to pass input parameters to a rowset's command property. This command is the SQL query the rowset uses when it gets its data from a relational database, which is generally the case.

The RowSet interface supports JavaBeans events, allowing other components in an application to be notified when an event occurs on a rowset, such as a change in its value.

The RowSet interface is unique in that it is intended to be implemented using the rest of the JDBC API. In other words, a RowSet implementation is a layer of software that executes "on top" of a JDBC driver. Implementations of the RowSet interface can be provided by anyone, including JDBC driver vendors who want to provide a RowSet implementation as part of their JDBC products.

A RowSet object may make a connection with a data source and maintain that connection throughout its life cycle, in which case it is called a connected rowset. A rowset may also make a connection with a data source, get data from it, and then close the connection. Such a rowset is called a disconnected rowset. A disconnected rowset may make changes to its data while it is disconnected and then send the changes back to the original source of the data, but it must reestablish a connection to do so.

A disconnected rowset may have a Reader (a RowSetReader object) and a writer (a RowSetWriter object) associated with it. The Reader may be implemented in many different ways to populate a rowset with data, including getting data from a non-relational data source. The writer can also be implemented in many different ways to propagate changes made to the rowset's data back to the underlying data source.

Rowsets are easy to use. The RowSet interface extends the standard java.sql.ResultSet interface. The RowSetMetaData interface extends the java.sql.ResultSetMetaData interface. Thus, developers familiar with the JDBC API will have to learn a minimal number of new APIs to use rowsets. In addition, third-party software tools that work with JDBC ResultSet objects will also easily be made to work with rowsets.

Since
1.4

Field Summary

Inherited from java.sql.ResultSet:
CLOSE_CURSORS_AT_COMMITCONCUR_READ_ONLYCONCUR_UPDATABLEFETCH_FORWARDFETCH_REVERSEFETCH_UNKNOWNHOLD_CURSORS_OVER_COMMITTYPE_FORWARD_ONLYTYPE_SCROLL_INSENSITIVETYPE_SCROLL_SENSITIVE

Method Summary

Modifier and TypeMethod and Description
public void
addRowSetListener(RowSetListener
a component that has implemented the RowSetListener interface and wants to be notified when events occur on this RowSet object
listener
)

Registers the given listener so that it will be notified of events that occur on this RowSet object.

public void
clearParameters()

Clears the parameters set for this RowSet object's command.

public void
execute()

Fills this RowSet object with data.

public String

Returns:

the command string; may be null
getCommand
()

Retrieves this RowSet object's command property.

public String

Returns:

a data source name
getDataSourceName
()

Retrieves the logical name that identifies the data source for this RowSet object.

public boolean

Returns:

true if escape processing is enabled; false if it is disabled
getEscapeProcessing
()

Retrieves whether escape processing is enabled for this RowSet object.

public int

Returns:

the current maximum column size limit; zero means that there is no limit
getMaxFieldSize
()

Retrieves the maximum number of bytes that may be returned for certain column values.

public int

Returns:

the current maximum number of rows that this RowSet object can contain; zero means unlimited
getMaxRows
()

Retrieves the maximum number of rows that this RowSet object can contain.

public String

Returns:

the password for making a database connection
getPassword
()

Retrieves the password used to create a database connection.

public int

Returns:

the current query timeout limit in seconds; zero means unlimited
getQueryTimeout
()

Retrieves the maximum number of seconds the driver will wait for a statement to execute.

public int

Returns:

the transaction isolation level; one of Connection.TRANSACTION_READ_UNCOMMITTED, Connection.TRANSACTION_READ_COMMITTED, Connection.TRANSACTION_REPEATABLE_READ, or Connection.TRANSACTION_SERIALIZABLE
getTransactionIsolation
()

Retrieves the transaction isolation level set for this RowSet object.

public Map<String, Class<?>>

Returns:

a java.util.Map object containing the names of SQL user-defined types and the Java classes to which they are to be mapped
getTypeMap
()

Retrieves the Map object associated with this RowSet object, which specifies the custom mapping of SQL user-defined types, if any.

public String

Returns:

a string url
getUrl
()

Retrieves the url property this RowSet object will use to create a connection if it uses the DriverManager instead of a DataSource object to establish the connection.

public String

Returns:

the username property
getUsername
()

Retrieves the username used to create a database connection for this RowSet object.

public boolean

Returns:

true if this RowSet object is read-only; false if it is updatable
isReadOnly
()

Retrieves whether this RowSet object is read-only.

public void
removeRowSetListener(RowSetListener
a component that has been registered as a listener for this RowSet object
listener
)

Removes the specified listener from the list of components that will be notified when an event occurs on this RowSet object.

public void
setArray(int
the first parameter is 1, the second is 2, ...
i
,
Array
an object representing an SQL array
x
)

Sets the designated parameter in this RowSet object's command with the given Array value.

public void
setAsciiStream(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
InputStream
the Java input stream that contains the ASCII parameter value
x
,
int
the number of bytes in the stream
length
)

Sets the designated parameter in this RowSet object's command to the given java.io.InputStream value.

public void
setAsciiStream(String
the name of the parameter
parameterName
,
InputStream
the Java input stream that contains the ASCII parameter value
x
,
int
the number of bytes in the stream
length
)

Sets the designated parameter to the given input stream, which will have the specified number of bytes.

public void
setAsciiStream(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
InputStream
the Java input stream that contains the ASCII parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given input stream.

public void
setAsciiStream(String
the name of the parameter
parameterName
,
InputStream
the Java input stream that contains the ASCII parameter value
x
)

Sets the designated parameter to the given input stream.

public void
setBigDecimal(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
BigDecimal
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given java.math.BigDecimal value.

public void
setBigDecimal(String
the name of the parameter
parameterName
,
BigDecimal
the parameter value
x
)

Sets the designated parameter to the given java.math.BigDecimal value.

public void
setBinaryStream(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
InputStream
the java input stream which contains the binary parameter value
x
,
int
the number of bytes in the stream
length
)

Sets the designated parameter in this RowSet object's command to the given java.io.InputStream value.

public void
setBinaryStream(String
the name of the parameter
parameterName
,
InputStream
the java input stream which contains the binary parameter value
x
,
int
the number of bytes in the stream
length
)

Sets the designated parameter to the given input stream, which will have the specified number of bytes.

public void
setBinaryStream(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
InputStream
the java input stream which contains the binary parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given input stream.

public void
setBinaryStream(String
the name of the parameter
parameterName
,
InputStream
the java input stream which contains the binary parameter value
x
)

Sets the designated parameter to the given input stream.

public void
setBlob(int
the first parameter is 1, the second is 2, ...
i
,
Blob
an object representing a BLOB
x
)

Sets the designated parameter in this RowSet object's command with the given Blob value.

public void
setBlob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
,
long
the number of bytes in the parameter data.
length
)

Sets the designated parameter to a InputStream object.

public void
setBlob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
)

Sets the designated parameter to a InputStream object.

public void
setBlob(String
the name of the parameter to be set the second is 2, ...
parameterName
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
,
long
the number of bytes in the parameter data.
length
)

Sets the designated parameter to a InputStream object.

public void
setBlob(String
the name of the parameter
parameterName
,
Blob
a Blob object that maps an SQL BLOB value
x
)

Sets the designated parameter to the given java.sql.Blob object.

public void
setBlob(String
the name of the parameter
parameterName
,
InputStream
An object that contains the data to set the parameter value to.
inputStream
)

Sets the designated parameter to a InputStream object.

public void
setBoolean(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
boolean
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given Java boolean value.

public void
setBoolean(String
the name of the parameter
parameterName
,
boolean
the parameter value
x
)

Sets the designated parameter to the given Java boolean value.

public void
setByte(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
byte
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given Java byte value.

public void
setByte(String
the name of the parameter
parameterName
,
byte
the parameter value
x
)

Sets the designated parameter to the given Java byte value.

public void
setBytes(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
byte[]
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given Java array of byte values.

public void
setBytes(String
the name of the parameter
parameterName
,
byte[]
the parameter value
x
)

Sets the designated parameter to the given Java array of bytes.

public void
setCharacterStream(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
the Reader object that contains the UNICODE data to be set
reader
,
int
the number of characters in the stream
length
)

Sets the designated parameter in this RowSet object's command to the given java.io.Reader value.

public void
setCharacterStream(String
the name of the parameter
parameterName
,
Reader
the java.io.Reader object that contains the UNICODE data used as the designated parameter
reader
,
int
the number of characters in the stream
length
)

Sets the designated parameter to the given Reader object, which is the given number of characters long.

public void
setCharacterStream(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
the java.io.Reader object that contains the Unicode data
reader
)

Sets the designated parameter in this RowSet object's command to the given Reader object.

public void
setCharacterStream(String
the name of the parameter
parameterName
,
Reader
the java.io.Reader object that contains the Unicode data
reader
)

Sets the designated parameter to the given Reader object.

public void
setClob(int
the first parameter is 1, the second is 2, ...
i
,
Clob
an object representing a CLOB
x
)

Sets the designated parameter in this RowSet object's command with the given Clob value.

public void
setClob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Sets the designated parameter to a Reader object.

public void
setClob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Sets the designated parameter to a Reader object.

public void
setClob(String
the name of the parameter to be set
parameterName
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Sets the designated parameter to a Reader object.

public void
setClob(String
the name of the parameter
parameterName
,
Clob
a Clob object that maps an SQL CLOB value
x
)

Sets the designated parameter to the given java.sql.Clob object.

public void
setClob(String
the name of the parameter
parameterName
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Sets the designated parameter to a Reader object.

public void
setCommand(String
the SQL query that will be used to get the data for this RowSet object; may be null
cmd
)

Sets this RowSet object's command property to the given SQL query.

public void
setConcurrency(int
one of the ResultSet constants specifying a concurrency level: ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE
concurrency
)

Sets the concurrency of this RowSet object to the given concurrency level.

public void
setDataSourceName(String
the logical name of the data source for this RowSet object; may be null
name
)

Sets the data source name property for this RowSet object to the given String.

public void
setDate(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
Date
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given java.sql.Date value.

public void
setDate(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
Date
the parameter value
x
,
Calendar
the java.util.Calendar object to use for calculating the date
cal
)

Sets the designated parameter in this RowSet object's command with the given java.sql.Date value.

public void
setDate(String
the name of the parameter
parameterName
,
Date
the parameter value
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 void
setDate(String
the name of the parameter
parameterName
,
Date
the parameter value
x
,
Calendar
the Calendar object the driver will use to construct the date
cal
)

Sets the designated parameter to the given java.sql.Date value, using the given Calendar object.

public void
setDouble(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
double
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given Java double value.

public void
setDouble(String
the name of the parameter
parameterName
,
double
the parameter value
x
)

Sets the designated parameter to the given Java double value.

public void
setEscapeProcessing(boolean
true to enable escape processing; false to disable it
enable
)

Sets escape processing for this RowSet object on or off.

public void
setFloat(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
float
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given Java float value.

public void
setFloat(String
the name of the parameter
parameterName
,
float
the parameter value
x
)

Sets the designated parameter to the given Java float value.

public void
setInt(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
int
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given Java int value.

public void
setInt(String
the name of the parameter
parameterName
,
int
the parameter value
x
)

Sets the designated parameter to the given Java int value.

public void
setLong(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
long
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given Java long value.

public void
setLong(String
the name of the parameter
parameterName
,
long
the parameter value
x
)

Sets the designated parameter to the given Java long value.

public void
setMaxFieldSize(int
the new max column size limit in bytes; zero means unlimited
max
)

Sets the maximum number of bytes that can be returned for a column value to the given number of bytes.

public void
setMaxRows(int
the new maximum number of rows; zero means unlimited
max
)

Sets the maximum number of rows that this RowSet object can contain to the specified number.

public void
setNCharacterStream(int
of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
the parameter value
value
)

Sets the designated parameter in this RowSet object's command to a Reader object.

public void
setNCharacterStream(int
of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
the parameter value
value
,
long
the number of characters in the parameter data.
length
)

Sets the designated parameter to a Reader object.

public void
setNCharacterStream(String
the name of the column to be set
parameterName
,
Reader
the parameter value
value
,
long
the number of characters in the parameter data.
length
)

Sets the designated parameter to a Reader object.

public void
setNCharacterStream(String
the name of the parameter
parameterName
,
Reader
the parameter value
value
)

Sets the designated parameter to a Reader object.

public void
setNClob(String
the name of the column to be set
parameterName
,
NClob
the parameter value
value
)

Sets the designated parameter to a java.sql.NClob object.

public void
setNClob(String
the name of the parameter to be set
parameterName
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Sets the designated parameter to a Reader object.

public void
setNClob(String
the name of the parameter
parameterName
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Sets the designated parameter to a Reader object.

public void
setNClob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
,
long
the number of characters in the parameter data.
length
)

Sets the designated parameter to a Reader object.

public void
setNClob(int
of the first parameter is 1, the second is 2, ...
parameterIndex
,
NClob
the parameter value
value
)

Sets the designated parameter to a java.sql.NClob object.

public void
setNClob(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
Reader
An object that contains the data to set the parameter value to.
reader
)

Sets the designated parameter to a Reader object.

public void
setNString(int
of the first parameter is 1, the second is 2, ...
parameterIndex
,
String
the parameter value
value
)

Sets the designated parameter to the given String object.

public void
setNString(String
the name of the column to be set
parameterName
,
String
the parameter value
value
)

Sets the designated parameter to the given String object.

public void
setNull(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
int
a SQL type code defined by java.sql.Types
sqlType
)

Sets the designated parameter in this RowSet object's SQL command to SQL NULL.

public void
setNull(String
the name of the parameter
parameterName
,
int
the SQL type code defined in java.sql.Types
sqlType
)

Sets the designated parameter to SQL NULL.

public void
setNull(int
the first parameter is 1, the second is 2, ...
paramIndex
,
int
a value from java.sql.Types
sqlType
,
String
the fully qualified name of an SQL UDT or the type name of the SQL structured type being referenced by a REF type; ignored if the parameter is not a UDT or REF type
typeName
)

Sets the designated parameter in this RowSet object's SQL command to SQL NULL.

public void
setNull(String
the name of the parameter
parameterName
,
int
a value from java.sql.Types
sqlType
,
String
the fully-qualified name of an SQL user-defined type; ignored if the parameter is not a user-defined type or SQL REF value
typeName
)

Sets the designated parameter to SQL NULL.

public void
setObject(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
Object
the object containing the input parameter value
x
,
int
the SQL type (as defined in java.sql.Types) to be sent to the database. The scale argument may further qualify this type.
targetSqlType
,
int
for java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types, this is the number of digits after the decimal point. For Java Object types InputStream and Reader, this is the length of the data in the stream or Reader. For all other types, this value will be ignored.
scaleOrLength
)

Sets the designated parameter in this RowSet object's command with the given Java Object.

public void
setObject(String
the name of the parameter
parameterName
,
Object
the object containing the input parameter value
x
,
int
the SQL type (as defined in java.sql.Types) to be sent to the database. The scale argument may further qualify this type.
targetSqlType
,
int
for java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types, this is the number of digits after the decimal point. For all other types, this value will be ignored.
scale
)

Sets the value of the designated parameter with the given object.

public void
setObject(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
Object
the object containing the input parameter value
x
,
int
the SQL type (as defined in java.sql.Types) to be sent to the database
targetSqlType
)

Sets the designated parameter in this RowSet object's command with a Java Object.

public void
setObject(String
the name of the parameter
parameterName
,
Object
the object containing the input parameter value
x
,
int
the SQL type (as defined in java.sql.Types) to be sent to the database
targetSqlType
)

Sets the value of the designated parameter with the given object.

public void
setObject(String
the name of the parameter
parameterName
,
Object
the object containing the input parameter value
x
)

Sets the value of the designated parameter with the given object.

public void
setObject(int
The first parameter is 1, the second is 2, ...
parameterIndex
,
Object
The object containing the input parameter value
x
)

Sets the designated parameter in this RowSet object's command with a Java Object.

public void
setPassword(String
the password string
password
)

Sets the database password for this RowSet object to the given String.

public void
setQueryTimeout(int
the new query timeout limit in seconds; zero means that there is no limit
seconds
)

Sets the maximum time the driver will wait for a statement to execute to the given number of seconds.

public void
setReadOnly(boolean
true if read-only; false if updatable
value
)

Sets whether this RowSet object is read-only to the given boolean.

public void
setRef(int
the first parameter is 1, the second is 2, ...
i
,
Ref
an object representing data of an SQL REF type
x
)

Sets the designated parameter in this RowSet object's command with the given Ref value.

public void
setRowId(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
RowId
the parameter value
x
)

Sets the designated parameter to the given java.sql.RowId object.

public void
setRowId(String
the name of the parameter
parameterName
,
RowId
the parameter value
x
)

Sets the designated parameter to the given java.sql.RowId object.

public void
setShort(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
short
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given Java short value.

public void
setShort(String
the name of the parameter
parameterName
,
short
the parameter value
x
)

Sets the designated parameter to the given Java short value.

public void
setSQLXML(int
index of the first parameter is 1, the second is 2, ...
parameterIndex
,
SQLXML
a SQLXML object that maps an SQL XML value
xmlObject
)

Sets the designated parameter to the given java.sql.SQLXML object.

public void
setSQLXML(String
the name of the parameter
parameterName
,
SQLXML
a SQLXML object that maps an SQL XML value
xmlObject
)

Sets the designated parameter to the given java.sql.SQLXML object.

public void
setString(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
String
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given Java String value.

public void
setString(String
the name of the parameter
parameterName
,
String
the parameter value
x
)

Sets the designated parameter to the given Java String value.

public void
setTime(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
Time
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given java.sql.Time value.

public void
setTime(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
Time
the parameter value
x
,
Calendar
the java.util.Calendar object to use for calculating the time
cal
)

Sets the designated parameter in this RowSet object's command with the given java.sql.Time value.

public void
setTime(String
the name of the parameter
parameterName
,
Time
the parameter value
x
)

Sets the designated parameter to the given java.sql.Time value.

public void
setTime(String
the name of the parameter
parameterName
,
Time
the parameter value
x
,
Calendar
the Calendar object the driver will use to construct the time
cal
)

Sets the designated parameter to the given java.sql.Time value, using the given Calendar object.

public void
setTimestamp(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
Timestamp
the parameter value
x
)

Sets the designated parameter in this RowSet object's command to the given java.sql.Timestamp value.

public void
setTimestamp(String
the name of the parameter
parameterName
,
Timestamp
the parameter value
x
)

Sets the designated parameter to the given java.sql.Timestamp value.

public void
setTimestamp(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
Timestamp
the parameter value
x
,
Calendar
the java.util.Calendar object to use for calculating the timestamp
cal
)

Sets the designated parameter in this RowSet object's command with the given java.sql.Timestamp value.

public void
setTimestamp(String
the name of the parameter
parameterName
,
Timestamp
the parameter value
x
,
Calendar
the Calendar object the driver will use to construct the timestamp
cal
)

Sets the designated parameter to the given java.sql.Timestamp value, using the given Calendar object.

public void
setTransactionIsolation(int
the transaction isolation level; one of Connection.TRANSACTION_READ_UNCOMMITTED, Connection.TRANSACTION_READ_COMMITTED, Connection.TRANSACTION_REPEATABLE_READ, or Connection.TRANSACTION_SERIALIZABLE
level
)

Sets the transaction isolation level for this RowSet object.

public void
setType(int
one of the ResultSet constants specifying a type: ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, or ResultSet.TYPE_SCROLL_SENSITIVE
type
)

Sets the type of this RowSet object to the given type.

public void
setTypeMap(Map<String, Class<?>>
a java.util.Map object containing the names of SQL user-defined types and the Java classes to which they are to be mapped
map
)

Installs the given java.util.Map object as the default type map for this RowSet object.

public void
setUrl(String
a string value; may be null
url
)

Sets the URL this RowSet object will use when it uses the DriverManager to create a connection.

public void
setURL(int
the first parameter is 1, the second is 2, ...
parameterIndex
,
URL
the java.net.URL object to be set
x
)

Sets the designated parameter to the given java.net.URL value.

public void
setUsername(String
a user name
name
)

Sets the username property for this RowSet object to the given String.

Inherited from java.sql.ResultSet:
absoluteafterLastbeforeFirstcancelRowUpdatesclearWarningsclosedeleteRowfindColumnfirstgetArraygetArraygetAsciiStreamgetAsciiStreamgetBigDecimalgetBigDecimalgetBigDecimalgetBigDecimalgetBinaryStreamgetBinaryStreamgetBlobgetBlobgetBooleangetBooleangetBytegetBytegetBytesgetBytesgetCharacterStreamgetCharacterStreamgetClobgetClobgetConcurrencygetCursorNamegetDategetDategetDategetDategetDoublegetDoublegetFetchDirectiongetFetchSizegetFloatgetFloatgetHoldabilitygetIntgetIntgetLonggetLonggetMetaDatagetNCharacterStreamgetNCharacterStreamgetNClobgetNClobgetNStringgetNStringgetObjectgetObjectgetObjectgetObjectgetObjectgetObjectgetRefgetRefgetRowgetRowIdgetRowIdgetShortgetShortgetSQLXMLgetSQLXMLgetStatementgetStringgetStringgetTimegetTimegetTimegetTimegetTimestampgetTimestampgetTimestampgetTimestampgetTypegetUnicodeStreamgetUnicodeStreamgetURLgetURLgetWarningsinsertRowisAfterLastisBeforeFirstisClosedisFirstisLastlastmoveToCurrentRowmoveToInsertRownextpreviousrefreshRowrelativerowDeletedrowInsertedrowUpdatedsetFetchDirectionsetFetchSizeupdateArrayupdateArrayupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateAsciiStreamupdateBigDecimalupdateBigDecimalupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBinaryStreamupdateBlobupdateBlobupdateBlobupdateBlobupdateBlobupdateBlobupdateBooleanupdateBooleanupdateByteupdateByteupdateBytesupdateBytesupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateCharacterStreamupdateClobupdateClobupdateClobupdateClobupdateClobupdateClobupdateDateupdateDateupdateDoubleupdateDoubleupdateFloatupdateFloatupdateIntupdateIntupdateLongupdateLongupdateNCharacterStreamupdateNCharacterStreamupdateNCharacterStreamupdateNCharacterStreamupdateNClobupdateNClobupdateNClobupdateNClobupdateNClobupdateNClobupdateNStringupdateNStringupdateNullupdateNullupdateObjectupdateObjectupdateObjectupdateObjectupdateObjectupdateObjectupdateObjectupdateObjectupdateRefupdateRefupdateRowupdateRowIdupdateRowIdupdateShortupdateShortupdateSQLXMLupdateSQLXMLupdateStringupdateStringupdateTimeupdateTimeupdateTimestampupdateTimestampwasNull