Serialization of Resultset
1 posts in topic
Flat View  Flat View

Posted By:   ah_luk
Posted On:   Sunday, July 22, 2001 02:33 AM

Building a RMI client server program with JDBC included. While receiver the query result thru JDBC call, resultset obtained. Then, I have to broadcast to all the connected client (registered to the server). What I want to do is to Serialize the Resultset object thru client-server connnection and send it to the client side for display !

However, it seems that Resultset object just can't be serialized! What can I do? To translate the Resultset to Vector of Vector ? Or any other ways of doing it???


Re: Serialization of Resultset

Posted By:   shilpa_ratwani  
Posted On:   Friday, July 27, 2001 09:58 AM

What u could do is try to creat your own class, and then copy the columns from the ResultSet into this object which should be serializable.
About | Sitemap | Contact