• Post Reply Bookmark Topic Watch Topic
  • New Topic

RowSet in java

 
anish jain
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start by comparing the javadocs of both classes - there are some obvious differences. Then read http://java.sun.com/developer/Books/JDBCTutorial/chapter5.html
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!