Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 78879 invoked from network); 20 Jul 2006 19:10:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jul 2006 19:10:25 -0000 Received: (qmail 42019 invoked by uid 500); 20 Jul 2006 13:50:55 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 41986 invoked by uid 500); 20 Jul 2006 13:50:54 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 41948 invoked by uid 99); 20 Jul 2006 13:50:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 06:50:54 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of debasish.duttaroy@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jul 2006 06:50:53 -0700 Received: by ug-out-1314.google.com with SMTP id m2so900823ugc for ; Thu, 20 Jul 2006 06:50:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=J9uSI3cNQXvsOhn07wyQrNngexMDiLArWTI7QU8cSf4chaCQTGgfIs/oPhMRTfyKeuzyTo4f09+8zK+t074A4psDn5BE8brc3rY3VDRj4YsvQCN4qf5HXMwRZEyW3NJvv2BabKheTlEJDnsAPmJIE0JjYzbRylVEsi/EaP/NkxE= Received: by 10.67.101.10 with SMTP id d10mr1928603ugm; Thu, 20 Jul 2006 06:50:31 -0700 (PDT) Received: by 10.66.222.12 with HTTP; Thu, 20 Jul 2006 06:50:31 -0700 (PDT) Message-ID: <3c8cea400607200650u6cf9c87lf05d153157228e91@mail.gmail.com> Date: Thu, 20 Jul 2006 09:50:31 -0400 From: "Debasish Dutta Roy" To: user-java@ibatis.apache.org Subject: Re: lists as parameterClass In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_24325_28856568.1153403431644" References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_24325_28856568.1153403431644 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes, you can do that. Use the iterator tag. On 7/20/06, Thomas Karl Schwaerzler 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. > ------=_Part_24325_28856568.1153403431644 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Yes, you can do that. Use the iterator tag.

On 7/20/06, Thomas Karl Schwaerzler <Thomas.Schwaerzler@uibk.ac.at > 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.

------=_Part_24325_28856568.1153403431644--