Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

MyBatis foreach error

 
John Eric Hamacher
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MyBatis 3.1.0
Spring 3.1.1
IBM JDK 6

Hello:

I am trying to use the <foreach> element in MyBatis but no matter how I pass my collection to the element (I've tried several things) I get, for instance:



for:




and the mapper class:




Any help would be appreciated.

Eric


 
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!