This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes RowSet in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Start by comparing the javadocs of both classes - there are some obvious differences. Then read http://java.sun.com/developer/Books/JDBCTutorial/chapter5.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: RowSet in java
 
It's not a secret anymore!