not sure what type of data your result set is giving you but i faced a similar problem earlier this year. I was able to use an arraylist of type Double
Code:
List<Double> list = new ArrayList<Double>();
This one line of code saved me many headaches.
NOTE: I am pretty sure you have to be using 1.5 or higher.
Comment