aspose file tools*
The moose likes JDBC and the fly likes Is ResultSet is serializable ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Is ResultSet is serializable ??" Watch "Is ResultSet is serializable ??" New topic
Author

Is ResultSet is serializable ??

R SundaraPandian
Greenhorn

Joined: Jan 16, 2001
Posts: 8
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

Joined: Nov 26, 2000
Posts: 202
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


Suneel
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
ResultSet is not serializable because it does not actually contain the data but only provides the methods to get the data from the database.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is ResultSet is serializable ??
 
Similar Threads
client in ejb
Values in VO getting lost in Stub
ResultSet Serailization
Client and EJB Classes On Different Servers
Question for Kyle or WAS Expert : Help with creating EJB ResultSet