Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to setup parameters dynamically in iBATIS?

 
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic