*
* @param url a string value; may be <code>null</code>
* @exception SQLException if a database access error occurs
* @see #getUrl
*/
void setUrl(String url) throws SQLException;
/**
* Retrieves the logical name that identifies the data source for this
* <code>RowSet</code> object.
*
* @return a data source name
* @see #setDataSourceName
* @see #setUrl
*/
String getDataSourceName();
/**
* Sets the data source name property for this <code>RowSet</code> object to the
* given <code>String</code>.
* <P>
* The value of the data source name property can be used to do a lookup of
* a <code>DataSource</code> object that has been registered with a naming
* service. After being retrieved, the <code>DataSource</code> object can be
* used to create a connection to the data source that it represents.
*
* @param name the logical name of the data source for this <code>RowSet</code>
* object; may be <code>null</code>
* @exception SQLException if a database access error occurs
* @see #getDataSourceName
*/
void setDataSourceName(String name) throws SQLException;
/**
* Retrieves the username used to create a database connection for this
* <code>RowSet</code> object.
* The username property is set at run time before calling the method
* <code>execute</code>. It is
* not usually part of the serialized state of a <code>RowSet</code> object.
*
* @return the username property
* @see #setUsername
*/
String getUsername();
/**
* Sets the username property for this <code>RowSet</code> object to the
* given <code>String</code>.
*
* @param name a user name
* @exception SQLException if a database access error occurs
* @see #getUsername
*/
void setUsername(String name) throws SQLException;
/**
* Retrieves the password used to create a database connection.
* The password property is set at run time before calling the method
* <code>execute</code>. It is not usually part of the serialized state
* of a <code>RowSet</code> object.
*
* @return the password for making a database connection
* @see #setPassword
*/
String getPassword();
/**
* Sets the database password for this <code>RowSet</code> object to
* the given <code>String</code>.
*
* @param password the password string
* @exception SQLException if a database access error occurs
* @see #getPassword
*/
void setPassword(String password) throws SQLException;
/**
* Retrieves the transaction isolation level set for this
* <code>RowSet</code> object.
*
* @return the transaction isolation level; one of
* <code>Connection.TRANSACTION_READ_UNCOMMITTED</code>,
* <code>Connection.TRANSACTION_READ_COMMITTED</code>,
* <code>Connection.TRANSACTION_REPEATABLE_READ</code>, or
* <code>Connection.TRANSACTION_SERIALIZABLE</code>
* @see #setTransactionIsolation
*/
int getTransactionIsolation();
/**
* Sets the transaction isolation level for this <code>RowSet</code> obejct.
*
* @param level the transaction isolation level; one of
* <code>Connection.TRANSACTION_READ_UNCOMMITTED</code>,
* <code>Connection.TRANSACTION_READ_COMMITTED</code>,
* <code>Connection.TRANSACTION_REPEATABLE_READ</code>, or
* <code>Connection.TRANSACTION_SERIALIZABLE</code>
* @exception SQLException if a database access error occurs
* @see #getTransactionIsolation
*/
=2= |