2.1.0 is in the SVN repository. You can check it out and run build.
It's really easy to do because ibatis is self contained. When you
check it out, simply go to the build directory and run build.bat from
the command line.

Brandon

On 4/21/05, cristina (JIRA) <[email protected]> wrote:
>      [ 
> http://issues.apache.org/jira/browse/IBATIS-42?page=comments#action_63433 ]
> 
> cristina commented on IBATIS-42:
> --------------------------------
> 
> I am using also iBatis in my application and i found the same kind of problem 
> :
> I don't know how to make a condition on a property inside an iteration over a 
> List of objects :
> <iterate prepend="" property="mylist" open="" close="" conjunction="UNION">
> SELECT id from table WHERE type='type'
> <isNotEqual prepend="AND" property="mylist.conditionExt" compareValue="any">
>   colExt=#mylist[].conditionExt#
> </isNotEqual>
> </iterate>
> 
> I have the same exception of course !
> 
> I did not really understand the previous solution, and where can i find the 
> version 2.1.0 ?
> 
> Thanks a lot
> 
> > ProbeException when iterate tag contains dynamic tags
> > -----------------------------------------------------
> >
> >          Key: IBATIS-42
> >          URL: http://issues.apache.org/jira/browse/IBATIS-42
> >      Project: iBatis for Java
> >         Type: Bug
> >   Components: SQL Maps
> >     Versions: 2.1.0
> >  Environment: JDK 1.4.2_06
> > Windows 2000 SP4
> >     Reporter: Jerome Jacobsen
> >     Assignee: Brandon Goodin
> >      Fix For: 2.1.0
> >  Attachments: DynamicAccount.xml, IterateTest.java, IterateTest_JUnit.out
> >
> > When upgrading my project from SqlMaps 1.3.1 to 2.0.9 I encountered this 
> > bug.  I modified the IterateTest JUnit test to reproduce it there.
> > I've added this to DynamicAccount.xml:
> >   <select id="dynamicQueryByExample2"
> >     parameterClass="testdomain.Account"
> >     resultClass="testdomain.Account">
> >     select
> >       ACC_ID          as id,
> >       ACC_FIRST_NAME  as firstName,
> >       ACC_LAST_NAME   as lastName,
> >       ACC_EMAIL       as emailAddress
> >     from ACCOUNT
> >     <dynamic prepend="WHERE">
> >       <isNotNull prepend="AND" property="ids">
> >         <iterate property="ids" conjunction="OR">
> >          <isNotNull property="ids">
> >            ACC_ID = #ids[]#
> >          </isNotNull>
> >         </iterate>
> >       </isNotNull>
> >     </dynamic>
> >   </select>
> > And I've added this test in IterateTest.java:
> >   public void testArrayPropertyIterate2() throws SQLException {
> >     Account account = new Account();
> >     account.setIds(new int[]{1, 2, 3});
> >     List list = sqlMap.queryForList("dynamicQueryByExample2", account);
> >     assertAccount1((Account) list.get(0));
> >     assertEquals(3, list.size());
> >   }
> 
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
> 
>

Reply via email to