Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!