Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 15186 invoked from network); 3 Aug 2005 12:24:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Aug 2005 12:24:17 -0000 Received: (qmail 73158 invoked by uid 500); 3 Aug 2005 12:24:15 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 73066 invoked by uid 500); 3 Aug 2005 12:24:14 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 73052 invoked by uid 99); 3 Aug 2005 12:24:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2005 05:24:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.247.21.91] (HELO wis.nl) (83.247.21.91) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2005 05:24:04 -0700 Content-class: urn:content-classes:message Subject: RE: iterate over 2 collections MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 3 Aug 2005 14:23:34 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Message-ID: <50CA25BD6EEA954FA592C097399942E303F3535D@CM1.wis.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: iterate over 2 collections thread-index: AcWYJcUjctTFY9duQPmyg33oYLvPcQAAFFkQ From: "Niels Beekman" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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:eugenydzh@jdevelop.com]=20 Sent: woensdag 3 augustus 2005 14:21 To: user-java@ibatis.apache.org 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?=20 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 =3D "dynamicGetRuleCount"; private int rule_id =3D -1; private String name =3D null; private String description =3D null; private ArrayList fields; public Rule() { fields =3D new ArrayList(); } /** * @return Returns the description. */ public String getDescription() { return description; } /** * @param description The description to set. */ public void setDescription(String description) { this.description =3D description; } /** * @return Returns the fields. */ public List getFields() { return fields; } /** * @param fields The fields to set. */ public void setFields(ArrayList fields) { this.fields =3D fields; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ public void setName(String name) { this.name =3D 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 =3D 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 =3D name; this.value =3D value; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ public void setName(String name) { this.name =3D name; } /** * @return Returns the value. */ public String getValue() { return value; } /** * @param value The value to set. */ public void setValue(String value) { this.value =3D value; } } --=20 Eugene N Dzhurinsky