Jul 20th, 2007, 03:38 PM
How to take multiple DB columns into arraylist from Ibatis?
I am trying to get multiple repetitive columns from DB.(Question and Answer pair) Now I dont want to create setter and getter method for each "Question" and each "Answer" in my model which is really bad programming.
My question is how can I modify my ibatis query and model to take multiple objects/results from DB into some sort of a list(or array) so that my i-report will iterate this arraylist to display the results?