You can create a JdbcRowSet
object in various ways:
- By using the reference implementation constructor that takes a
ResultSet
object - By using the reference implementation constructor that takes a
Connection
object - By using the reference implementation default constructor
- By using an instance of
RowSetFactory
, which is created from the classRowSetProvider
Note: Alternatively, you can use the constructor from the JdbcRowSet
implementation of your JDBC driver. However, implementations of the RowSet
interface will differ from the reference implementation. These implementations will have different names and constructors. For example, the Oracle JDBC driver's implementation of the JdbcRowSet
interface is named oracle.jdbc.rowset.OracleJDBCRowSet
.
No comments:
Post a Comment