File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is ResultSet is serializable ??

 
R SundaraPandian
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am learining EJB/WebLogic.
From my client program,I am sending one query to my EJB component where it is actually fetching records on certain criteria.How do I return the result set to my Client side,
where it has to display some specific fields.I heard that Result set it not serializable If so how can I do it..Please help me out.
Sundar
 
Suneel Setlur
Ranch Hand
Posts: 202
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sundar
Retrieve the values from the ResultSet and store it to a vector.
You send the vector as all collection classes are by default implementing serializable
Regards
Suneel
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ResultSet is not serializable because it does not actually contain the data but only provides the methods to get the data from the database.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic