Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

iBatis question with using queryForList  RSS feed

 
RaviNada Kiran
Ranch Hand
Posts: 528
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am pretty new to iBatis .Please help me



The above method from SqlMapClient returns a List as indicated.

This allows to pass only single parameter .

Now if my search includes many parameters to be passed to the method , how can i pass multiple values ??

Please Help .Thanks in advance.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For multiple parameters you pass in a Map. The Map has each parameter with their names.

Mark
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!