Hi,

I'm wondering if somthing like this was possible:

<iterate property="names" open="(" close=")" conjunction="OR">
        <isEqual property="names[]" compareValue="aName">
                colValue = 1
        </isEqual>
        <isEqual property="names[]" compareValue="anotherName">
                colValue = 2
        </isEqual>
</iterate>

As you may have noticed the braketed porperty is referenced in an isEqual
tag, not directly as the value in a WHERE clause...

I haven't tried it but I came up with a situation that could have required
this. I was wondering if it was handled by iBatis' tags.

Thanks,
Philippe

Reply via email to