This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 41034
    
  43
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 - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RowSet in java
 
Similar Threads
what is RowSet?
RowSet Vs ResultSet
Returning ResultSet
rowset
Cached Rowset