I Just use RMI to get a Database resultset from server to applet,error said unmashalling....
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   kevin_huang
Posted On:   Friday, September 21, 2001 03:39 AM

i think it's a simple question. :(
i just want server to return a resultset or other things that can be used to get data from a table.But i cannot return a resultset,HELP ME!!!
thanks.

Re: I Just use RMI to get a Database resultset from server to applet,error said unmashalling....

Posted By:   AlessandroA_Garbagnati  
Posted On:   Friday, September 21, 2001 08:20 AM

Kevin,

No, you cannot pass a ResultSet through RMI, since it's not a serializable object. I would suggest you to create an ArrayList containing the result of your query and then pass that object.
About | Sitemap | Contact