posted 17 years ago
Hello Dear Experts,
In my application I have a method that takes a resultSet -which is already retrieved from a perfect-working query and statement- object through its parameters, and then take the required fields from this resultSet,but that's not working...
check out my code please..
This is where I create the ResultSet in the first place and returns the
indexes I want (This next method is working perfectly):
Now the method that takes the resultSet created from the previous one and the index number to get a wanted record from the resultSet as next:
This way of dealing with ResultSet I've read so many times that it's the best way to deal with big resultSet records because passing resultSet through session is better then assigning the values of resultSet to a vector (for example) and send this vector over session which will give OutOfMemory Exception..
any suggestions...
thanks in advanced..