Meaningless Drivel is fun!*
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 Spring in Action this week in the Spring 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: 42289
    
  64
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
 
 
subject: RowSet in java