• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IBATIS - multiple parameter

 
Bruno Frascino
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

First time using ibatis. I am having problem trying to passe more than one parameter to my query.

I have got:


And my DAO implementation:


It seems to be right, I get no error, but it is not because it doesn't return any record!! I think there is something to do with the multiple parameters, because when I hardcode one of the parameters (#employeeId# or #userId# ) it returns the data I need.

Any help!?

I also don't know how to enable the sql statements output, that could maybe help.

Thanks!
 
Imre Tokai
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is an example for resultset:




Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic