设为首页 加入收藏

TOP

关于cachedRowSet的一篇文章(java.sun.com)
2011-06-09 12:55:08 来源: 作者: 【 】 浏览:554次 评论:0
JDBCTM RowSet
This Early Access release includes three implementations of the JDBCTM RowSet interface. The RowSet interface provides a serializable, scrollable container for tabular data that may or may not be connected to its data source via a JDBC technology-enabled driver.
A disconnected RowSet object, such as a CachedRowSet object or a WebRowSet object, can be thought of as a set of rows that are being cached outside of a data source. Because they are lightweight and serializable, disconnected rowsets can be passed between different components of a distributed application, such as Enterprise JavaBeansTM components. This is one of the most important uses for a RowSet object. The data in a RowSet object may be updated and then resynchronized with the underlying tabular data source.
The RowSet Early Access Technology Release contains the rowset jar file, preliminary documentation and code examples. Additional documentation on RowSets is contained in the JDBC 2.0 Optional Package API specification. The Java Developer Connection(SM) also provides on-line access to the RowSet tutorial chapter of the new JavaTM series JDBC book.
Early Access Release 4 addresses the following areas:
fixed problem inserting rows with non-nullable columns
re-ordered code in writer to allow multiple changes to a single row to be propogated back to a data source
reader/writer now only close connects that they create. This change should allow RowSets to be used with connection pool implementations based on JDBC 1.x drivers
included missing EchoListener.java for example 5
The three JDBCTM RowSet implementations in this release demonstrate some of the many possibilities for implementing the javax.sql.RowSet interface, which is part of the JDBC 2.0 Optional Package API.
The three example implementations in this release are:
CachedRowSet -- a rowset that can be used to
Send a set of rows across a network
Send data to a thin client
您看到此篇文章时的感受是:
Tags: 责任编辑:administrator
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到QQ空间
分享到: 
上一篇常用JAVA方法 下一篇JDBC接口技术 <转>

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

相关栏目

最新文章

图片主题

热门文章

推荐文章

相关文章

广告位