DataSet class in Java?

前端 未结 9 1994
孤独总比滥情好
孤独总比滥情好 2020-12-05 15:45

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 se

相关标签:
9条回答
  • Made one myself. Only have DataTable and DataRow, and might be incomplete. Check:

    https://github.com/fandisus/javatrustlib

    0 讨论(0)
  • 2020-12-05 15:55

    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
    
    0 讨论(0)
  • 2020-12-05 15:55

    Check:

    http://download.oracle.com/docs/cd/E17802_01/j2se/javase/6/jcp/beta/apidiffs/java/sql/DataSet.html

    0 讨论(0)
  • 2020-12-05 15:55

    You might be looking for LINQ implementation in Java. IMHO better than the DataSet/DataTable route.

    http://code.google.com/p/jaque/

    http://quaere.codehaus.org/

    Disclaimer: I haven't used either of these.

    0 讨论(0)
  • 2020-12-05 15:56

    I'm an author of ExDataSet. If you need a way to send DataSet from java/android application to .NET the web service, you should take a look on this library. It is 100% fully compatible in xml representation with .NET DataSet objects and supports sending tables, rows, relations, foreign and unique keys, nested tables etc.

    0 讨论(0)
  • 2020-12-05 15:57

    MetaData

    http://java.sun.com/products/jmi/index.jsp

    0 讨论(0)
提交回复
热议问题