• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to setup parameters dynamically in iBATIS?  RSS feed

Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a quick doubt recently i faced this question and couldn't answer.

We can set parameters for the select statement through parameterClass or parameterMap like the following

in the above sql Map, we can get userName and password from parameterClass="PortalUserVO" and setting them in where clause. this is fine. when it comes to set userName and password dynamically with out using parameterClass or parameterMap, how we can do it? is there any posibilities to set them? please let me know this answer.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!