Java中的DataSet类? [英] DataSet class in Java?
问题描述
编辑:还有如果有人为JavaSet的DataSet教程,请分享一个链接
你看过 javax.sql.rowset.WebRowSet ?
从Javadocs :
WebRowSetImpl提供
标准参考实现
,如果需要,可以扩展。
标准的WebRowSet XML模式
定义可以在
下面找到:http://java.sun.com/xml/ns/jdbc/webrowset.xsd
描述了在描述
RowSet对象时需要的标准XML文档
格式,并且必须使用
作为
的所有标准实现WebRowSet接口确保
的互操作性。此外,
WebRowSet模式使用特定的SQL / XML
模式注释,从而确保
更大的跨平台
互操作性。这是目前正在进行的ISO
组织的努力
。 SQL / XML定义
可从以下URI获取:http://standards.iso.org/ iso / 9075/2002/12 / sqlxml
Does anyone know if there is a DataSet class in Java like there is in .Net? I am familiar with EJB3 and the "java way" of doing data. However, I really still miss the seamless integration between database queries, xml and objects provided by the DataSet class. Has anyone found a Java implementation of DataSet (including DataTable, DataRow, etc)?
Edit: Also if anyone has tutorials for the java flavor of DataSet, please share a link.
Have you looked at javax.sql.rowset.WebRowSet?
From the Javadocs:
The WebRowSetImpl provides the standard reference implementation, which may be extended if required.
The standard WebRowSet XML Schema definition is available at the following URI:
http://java.sun.com/xml/ns/jdbc/webrowset.xsd
It describes the standard XML document format required when describing a RowSet object in XML and must be used be all standard implementations of the WebRowSet interface to ensure interoperability. In addition, the WebRowSet schema uses specific SQL/XML Schema annotations, thus ensuring greater cross platform inter-operability. This is an effort currently under way at the ISO organization. The SQL/XML definition is available at the following URI:
http://standards.iso.org/iso/9075/2002/12/sqlxml
这篇关于Java中的DataSet类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!