RE: Dynamic Mapped Statement Iterate Question

2006-11-22 Thread Poitras Christian
This is ok. Christian -Original Message- From: Warren [mailto:[EMAIL PROTECTED] Sent: Tuesday, 21 November 2006 19:24 To: user-java@ibatis.apache.org Subject: Dynamic Mapped Statement Iterate Question I want to pass a list of objects to a SQL map and get the following SQL Statement

Dynamic Mapped Statement Iterate Question

2006-11-21 Thread Warren
I want to pass a list of objects to a SQL map and get the following SQL Statement SELECT field1, field2, ... FROM table WHERE (field1 = 'value1' AND field2 = 'value2') OR (field1 = 'value3' AND field2 = 'value4') ... x n Is the folowing SQL Map correct? resultMap="batchedItemsResult">