posted 19 years ago
You can store Vector temporarily into Memory by appending ResultSet object into vector by Vector.add(Object) method.
You can also use Hashtable to do the same.Hashtable uses Key-pair structure.In your case Key will be the Query and the Value will be the ResultSet object. Use Hashtable.put(Object key,Object value) method to do so.