javax.sql
Class JDBCRowSet
java.lang.Object
|
+--javax.sql.JDBCRowSet
- public class JDBCRowSet
- extends java.lang.Object
- implements RowSet
A JDBCRowSet is a connected rowset. The purpose of the
JDBCRowSet class is to act like a JavaBean at design time and provide
a thin layer that wraps around a JDBC ResultSet at runtime.
When execute() is called a JDBCRowSet object opens a JDBC connection
internally which remains open until close() is called, unless a Connection
is passed to execute() explicitly, in which case that Connection is used
instead. ResultSet operations such as cursor movement, updating, etc. are
simply delegated to an underlying JDBC ResultSet object which is maintained
internally.
|
Constructor Summary |
JDBCRowSet()
Construct a JDBCRowSet object. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
JDBCRowSet
public JDBCRowSet()
throws java.sql.SQLException
- Construct a JDBCRowSet object.
- Throws:
- java.sql.SQLException - if a database-access error occurs.