Discussions

General J2EE: Question on JDBC

  1. Question on JDBC (2 messages)

    Question on JDBC

    What is RowSet object and how it can be used?
    Is it replacement for ResultSet object?
    If so what is the difference between them?

    Thanks,
    Jain

    Threaded Messages (2)

  2. Question on JDBC[ Go to top ]

    Looks like RowSet simply extends ResultSet to provide JavaBeans compatibility:

    See:
    http://java.sun.com/j2se/1.4.2/docs/api/java/sql/ResultSet.html

    http://java.sun.com/j2se/1.4.2/docs/api/javax/sql/RowSet.html
  3. Question on JDBC[ Go to top ]

    I've heard both views on this question: is it generally considered acceptable practice or bad practice to pass a disconnected RowSet to a view-level object (Servlet/JSP/etc) in an MVC framework (such as struts)?