ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kyunam Kim" <kyunam_...@esri.com>
Subject possible to use isEqual inside iterate tag?
Date Fri, 05 Sep 2008 18:04:23 GMT
Hi all,

 

When iterating a list of my pojos, I'd like to examine a property of
each pojo using <isEqual/> like

 

SELECT 

    <dynamic>

      <isPropertyAvailable property="return_columns">

        <iterate property="return_columns" conjunction=",">

            <isEqual property="isValid" compareValue="false">

               $HOW DO I ACCESS A CURRENT ELEMENT'S PROPERTY HERE?$

            </isEqual>

        </iterate>

      </isPropertyAvailable>

    </dynamic>

 FROM

 $table_name$

 

Would this be possible scenario? 

If yes, could you tell me the exact syntax to use to access a property
of each element while inside <iterate/>?

 

Thanks,

Q

 


Mime
View raw message