This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes MyBatis foreach error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "MyBatis foreach error" Watch "MyBatis foreach error" New topic
Author

MyBatis foreach error

John Eric Hamacher
Ranch Hand

Joined: Apr 25, 2007
Posts: 230
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


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: MyBatis foreach error
 
Similar Threads
[Struts] How to populate dropdown
How to get values from a dropdownlist
Mapping java.util.List
How to handle arrays in Velocity?