aspose 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
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: 41874
    
  63
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
 
Consider Paul's rocket mass heater.
 
subject: RowSet in java