iBatis iterate in isEqual 처리


List<HashMap<String,Object>> listhmap = new ArrayList();
   <iterate property="condition" open="(" conjunction="and" close=")">
    $condition[].columnName$ $condition[].columnOperation$ 
    <isEqual property="condition[].nested" compareValue="true">
     <iterate property="condition[].columnValue" open="(" conjunction="," close=")">
      #condition[].columnValue[]#
     </iterate>
    </isEqual>
    <isNotEqual property="condition[].nested" compareValue="true">
     #condition[].columnValue#
    </isNotEqual>
   </iterate>

댓글