
RowSet
118
|
JDBC Pocket Reference
boolean isSearchable(int columnIndex)
Returns true if a column can be used in a WHERE clause.
boolean isSigned(int columnIndex)
Returns true if numeric values in the column are signed.
boolean isWritable(int columnIndex)
Returns true if a column is possibly writable.
RowSet
Interface name: javax.sql.RowSet
Java 1.4, JDBC 2.0 OP
Extends java.sql.ResultSet
RowSet extends the capabilities of ResultSet to add support to the
JDBC API for the JavaBeans component model. This means that a
RowSet can be used as a component in a visual Bean GUI develop-
ment environment.
RowSets can be used on or offline. Most of
RowSet’s methods can throw an SQLException.
Fields inherited from java.sql.ResultSet
static int CONCUR_READ_ONLY
static int CONCUR_UPDATABLE
static int FETCH_FORWARD
static int FETCH_REVERSE
static int FETCH_UNKNOWN
static int TYPE_FORWARD_ONLY
static int TYPE_SCROLL_INSENSITIVE
static int TYPE_SCROLL_SENSITIVE
Methods
void addRowSetListener(RowSetListener listener)
Adds a rowset listener.
void clearParameters( )
Clears the command (SQL statement) parameter values, which
are otherwise available for repeated use once they are set.
void execute( )
Executes the rowset’s command (SQL statement) in order to
fill the rowset with data.
String getCommand( )
Returns the rowset’s command (SQL statement).
String getDataSourceName( )
Returns the JDBC data source’s JNDI name.