Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 53275 invoked from network); 29 Jan 2010 01:29:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jan 2010 01:29:32 -0000 Received: (qmail 41034 invoked by uid 500); 29 Jan 2010 01:29:31 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 41015 invoked by uid 500); 29 Jan 2010 01:29:31 -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 41007 invoked by uid 99); 29 Jan 2010 01:29:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 01:29:31 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of clinton.begin@gmail.com designates 74.125.92.150 as permitted sender) Received: from [74.125.92.150] (HELO qw-out-1920.google.com) (74.125.92.150) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2010 01:29:23 +0000 Received: by qw-out-1920.google.com with SMTP id 5so270103qwc.60 for ; Thu, 28 Jan 2010 17:29:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=GI9j0yZsgYrzplYxyQ+Q50L6UzX91VQiHtniwNlTezw=; b=nxLGbaadDCT16OkM5/Ns1Qxz4AYwwr7cEFGMDA6qAeYQ4zIhoAbi2RcH8dyGbgD6vW R59lxJ4aiH8RKTDbsUjOyXjWRhD3q/saUrl721Ijlbco2bc0dEIjA8+7PLXAkLKSyZJj AxlLaDEAX6Mctmf5+XmchW8P6WpsVQFuSXpWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=CO5jC7O0qi4Od7kIJG//ODEyb5+TUxyq5cozFaiRDOK6r7nQj/+wKc8FAnEjnnMzsL JlBndMuza++7Yn4L7Lr9uTeuQPJHKgkMBMZrWy2ZIoO14uGAAZozOPUli05B6NXtnuxv xGwTnuHL6DntIuweP5rP09uEx8ykrGylYWDkQ= MIME-Version: 1.0 Received: by 10.224.35.73 with SMTP id o9mr58311qad.141.1264728542664; Thu, 28 Jan 2010 17:29:02 -0800 (PST) In-Reply-To: <40C698FA-0497-49C3-AC4F-BA5410DFB26F@apache.org> References: <40C698FA-0497-49C3-AC4F-BA5410DFB26F@apache.org> Date: Thu, 28 Jan 2010 18:29:02 -0700 Message-ID: <16178eb11001281729y2c9cdc92l3796ba7b65619bc4@mail.gmail.com> Subject: Re: How to configure a ResultHandler when Mapper configured via annotation? From: Clinton Begin To: user-java@ibatis.apache.org Content-Type: multipart/alternative; boundary=00c09f9232f185d7d9047e438f34 X-Virus-Checked: Checked by ClamAV on apache.org --00c09f9232f185d7d9047e438f34 Content-Type: text/plain; charset=ISO-8859-1 You can't call it through a mapper at this time. You can only call it through the sqlSession#select() method. That said, it might not be hard to add support for that. Clinton On Thu, Jan 28, 2010 at 2:22 PM, Paul Spencer wrote: > iBatis 3.0-Beta-9 for Java. > > I have done all of my iBatis configuration via annotations and need to > perform a select with a ResultHandler. > > Using the AuthorMapper defined in the iBatis-3 Users Guide on page 54, how > would I add a result handler to selectAuthors()? > > > Paul Spencer > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org > For additional commands, e-mail: user-java-help@ibatis.apache.org > > --00c09f9232f185d7d9047e438f34 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You can't call it through a mapper at this time.=A0 You can only call i= t through the sqlSession#select() method.=A0

That said, it might no= t be hard to add support for that.=A0

Clinton

On Thu, Jan 28, 2010 at 2:22 PM, Paul Spencer <paulsp@apache.org> wrote:
iBatis 3.0-Beta-9 for Java.

I have done all of my iBatis configuration via annotations and need to perf= orm a select with a ResultHandler.

Using the AuthorMapper defined in the iBatis-3 Users Guide on page 54, how = would I add a result handler to selectAuthors()?


Paul Spencer


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


--00c09f9232f185d7d9047e438f34--