Well, you could inherit from ResultSet and implement Serializable interfaces in a new class. I would suggest a better approach would be to send XML between layers, or if you want an all Java solution, how about creating an object for each row, stuffing them in a collection class or vector, and serializing it instead of the ResultSet class.
If you have option of using jdbc3.0 you may also go for RowSet. which extends ResultSet. The classes implementing RowSet (e.g. CachedRowSet) also implement Serializable. Here you get many advantages over using Vector for this purpose.
------------------ Amit Agrawal, New Delhi, India.
Amit Agrawal,<BR>New Delhi, India.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop