File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes RowSet in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "RowSet in java" Watch "RowSet in java" New topic
Author

RowSet in java

anish jain
Ranch Hand

Joined: Feb 03, 2010
Posts: 129
What is the benefit of using RowSet over ResultSet ?
I have read that since resultset always maintains the connection with the database so we cannot serialize it..Why is it so ?

Please explain it with some examples..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
Start by comparing the javadocs of both classes - there are some obvious differences. Then read http://java.sun.com/developer/Books/JDBCTutorial/chapter5.html


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RowSet in java
 
Similar Threads
what is RowSet?
Returning ResultSet
rowset
Cached Rowset
RowSet Vs ResultSet