ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devver <kmg...@googlemail.com>
Subject Help with iBatis nested <iterate> syntax
Date Tue, 04 May 2010 19:09:10 GMT


#Subsequent to the problems outline in this post:

... the problem has changed somewhat. The orignal SQL statement has been
altered and we now have a structure which requries nested <iterate>

It looks like patches may have been introduced into IbAtis 2.x around 2006
to enable this feature but I can't get it to work. Can someone please
confirm the correct syntax? I had used somethign similar to this:

<iterate property="MyParameters.myOuterList" conjunction="OR" open="("
     <!-- Some SQL -->

     <iterate proeprty ="MyParameters.myOuterList[].myInnerList"
conjunction="AND" open="(" close=")">

     <!-- More SQL where I access
#MyParameters.myOuterList.myInnerList[].myProperty# -->



Any help gratefully received. Thanks
View this message in context: http://old.nabble.com/Help-with-iBatis-nested-%3Citerate%3E-syntax-tp28451833p28451833.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org

View raw message