Skip to Main Content
JDBC Pocket Reference
book

JDBC Pocket Reference

by Donald Bales
January 2003
Intermediate to advanced content levelIntermediate to advanced
176 pages
5h 3m
English
O'Reilly Media, Inc.
Content preview from JDBC Pocket Reference
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.
RowSet
The JDBC API
|
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro Couchbase Server, Second Edition

Pro Couchbase Server, Second Edition

David Ostrovsky, Mohammed Haji, Yaniv Rodenski
Pro Couchbase Server

Pro Couchbase Server

David Ostrovsky, Yaniv Rodenski

Publisher Resources

ISBN: 9780596528713