Announcement Announcement Module
Collapse
No announcement yet.
How to take multiple DB columns into arraylist from Ibatis? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to take multiple DB columns into arraylist from Ibatis?

    Guys

    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?

    Thanks
    Brat
Working...
X