9.10. ADO.NET JDBC Programmers and the Disconnected Model

The JDBC disconnected model consists of the RowSet interface, which extends ResultSet. Beta versions of three Rowset implementations are available from Sun, and third parties can write their own. CachedRowSet is most similar in concept to an ADO.NET DataTable, providing a single disconnected set of rows that can be marshaled across a network. CachedRowSet can be updated offline; methods for flushing changes back to the database in batches are available in the model, as are some listeners.

WebRowSet adds the capability to marshal in a single XML format; it's more similar to ADO's disconnected Recordset than to ADO.NET's DataSet. The functionality of HttpRowSet is similar to the Remote Data ...

Get Essential ADO.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.