Wat version are you using? Your error looks much like http://issues.apache.org/jira/browse/IBATIS-148 which was fixed in 2.1.5
Niels -----Original Message----- From: Eugeny N Dzhurinsky [mailto:[EMAIL PROTECTED] Sent: woensdag 3 augustus 2005 14:21 To: [email protected] Subject: Re: iterate over 2 collections On Wed, Aug 03, 2005 at 01:07:25PM +0100, James, Steven wrote: > Can we see the parameter class? the rule(parameter) class import java.util.ArrayList; import java.util.List; public class Rule extends iBATISSearchable { private static final String RULE_SEARCH_COUNT_SQL = "dynamicGetRuleCount"; private int rule_id = -1; private String name = null; private String description = null; private ArrayList fields; public Rule() { fields = new ArrayList(); } /** * @return Returns the description. */ public String getDescription() { return description; } /** * @param description The description to set. */ public void setDescription(String description) { this.description = description; } /** * @return Returns the fields. */ public List getFields() { return fields; } /** * @param fields The fields to set. */ public void setFields(ArrayList fields) { this.fields = fields; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ public void setName(String name) { this.name = name; } /** * @return Returns the rule_id. */ public int getRule_id() { return rule_id; } /** * @param rule_id The rule_id to set. */ public void setRule_id(int rule_id) { this.rule_id = rule_id; } public String getSearchName() { return RULE_SEARCH_COUNT_SQL; } } and field class ( for rule.getFields() ) public class Field { private String name; private String value; public Field() { } public Field(String name, String value) { this.name = name; this.value = value; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ public void setName(String name) { this.name = name; } /** * @return Returns the value. */ public String getValue() { return value; } /** * @param value The value to set. */ public void setValue(String value) { this.value = value; } } -- Eugene N Dzhurinsky
