Yes, this should work.

<select parameterClass="list">
select * from odm_product where id IN
    <iterate
      open=" ("
     close=")" conjunction=",">
      #[]#
    </iterate>

</select>

Brandon Goodin

On 7/20/06, Thomas Karl Schwaerzler < [EMAIL PROTECTED] > wrote:

hello,

i'd like to do a query that looks like:

select * from odm_product where id IN (1,2);


where i'd like to pass over a list of long values
as parameter ( java.lang.Long[] )

is there something like this posssible with ibatis?

greets
t.

Reply via email to