Hi All The Result Set object does not implement serializable. So if I have to send data back to client what should I do! do I have to fill the data in an object and send it. Thanks a lot!
pach
If you are not living on the edge, you are wasting Space.
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
posted
0
You can store the data in a Collection (vector or ArrayList) and send the collection object to the client. Bosun
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Thomas Paul
mister krabs
Ranch Hand
Joined: May 05, 2000
Posts: 13974
posted
0
The ResultSet object does not represent the actual data from the database. It is a pointer to get the next row. Imagine if the ResultSet did contain all the data and you did a SELECT * FROM TABLE1 and TABLE1 contained 10 million rows! How would you store all that data?