• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

iBatis question with using queryForList

 
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: 17278
6
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic