Return-Path: Delivered-To: apmail-ibatis-user-cs-archive@www.apache.org Received: (qmail 24712 invoked from network); 22 Sep 2009 12:15:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Sep 2009 12:15:25 -0000 Received: (qmail 49706 invoked by uid 500); 22 Sep 2009 12:15:25 -0000 Delivered-To: apmail-ibatis-user-cs-archive@ibatis.apache.org Received: (qmail 49675 invoked by uid 500); 22 Sep 2009 12:15:24 -0000 Mailing-List: contact user-cs-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-cs@ibatis.apache.org Delivered-To: mailing list user-cs@ibatis.apache.org Received: (qmail 49667 invoked by uid 99); 22 Sep 2009 12:15:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 12:15:24 +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 (athena.apache.org: domain of mmccurrey@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-yx0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2009 12:15:15 +0000 Received: by yxe3 with SMTP id 3so4437510yxe.4 for ; Tue, 22 Sep 2009 05:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=z2+Y89dTUQ+RCZ3GC58sEFADACp3r/ejq9onUiUrAUA=; b=T94wxEyWh7uFLfG5t/Um0ldrire1G/Tf9cJ/L11v8Yhbn4qV1D9QfZSH9WU8g4ywnc R3NFWACJHrXiltNwU2+VVNvI2WKbiW0UY92jxeBWb99k2NIk//f/zq+Tg2pUe/xIflyK HS7ZMY7pC/ofc9RnXtn6OMkZXeG6vQjLORsIo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; b=RM6xqSBLvFjH94ki/idQ3238TpjWQ5Er4HC+xwd+/fsBuQkL7e5uZOQxvfCTR62TVV S/LaCM4ZBP2JayxuUbgsTn8uD1NF30IFGWboecfHSsrrpjgr+7Gxc+C3YJwiedqaImhN CYwSXVse75j1S9jWkpiWhxFG8NcrChLpQYptI= MIME-Version: 1.0 Received: by 10.150.87.4 with SMTP id k4mr1706377ybb.347.1253621694519; Tue, 22 Sep 2009 05:14:54 -0700 (PDT) Reply-To: michael@mccurrey.com In-Reply-To: <4AB87590.4050403@i-mconsulting.com> References: <25240019.post@talk.nabble.com> <25242269.post@talk.nabble.com> <25252614.post@talk.nabble.com> <25272516.post@talk.nabble.com> <25276679.post@talk.nabble.com> <4AB87590.4050403@i-mconsulting.com> Date: Tue, 22 Sep 2009 05:14:54 -0700 Message-ID: Subject: Re: Feature request: include inside iterate From: Michael McCurrey To: user-cs@ibatis.apache.org, andrea.tassinari@i-mconsulting.com Content-Type: multipart/alternative; boundary=000e0cd5391cc8fac80474298b32 X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd5391cc8fac80474298b32 Content-Type: text/plain; charset=ISO-8859-1 yes. that is a good one. On Mon, Sep 21, 2009 at 11:58 PM, Andrea Tassinari < andreaml@i-mconsulting.com> wrote: > Hi, > > I've never felt the urge of having the tag iterate tag. Well I have a complex query where I have to UNION ALL a series > of subqueries and finally apply a general ORDER BY. I'm used to group all > the select field names in a sql tag and then have select statements like > this one: > > SELECT > FROM .... > > Now, I implemented the union ALL throught out an iterate tag which does not > support the include. which is a pity, isn't it? > > > -- > AndreaT > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-cs-unsubscribe@ibatis.apache.org > For additional commands, e-mail: user-cs-help@ibatis.apache.org > > -- Michael J. McCurrey Read with me at http://www.mccurrey.com http://chaoticmindramblings.blogspot.com/ --000e0cd5391cc8fac80474298b32 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable yes.=A0 that is a good one.=A0

On Mon, S= ep 21, 2009 at 11:58 PM, Andrea Tassinari <andreaml@i-mconsulting.com> wrote:
Hi,

I've never felt the urge of having the tag <include refid=3D.... ins= ide an iterate tag. Well I have a complex query where I have to UNION ALL a= series of subqueries and finally apply a general ORDER BY. I'm used to= group all the select field names in a sql tag and then have select stateme= nts like this one:

SELECT <include refid=3D"SelectFields" />
FROM ....

Now, I implemented the union ALL throught out an iterate tag which does not= support the include. which is a pity, isn't it?


--
AndreaT

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




--
Michael J. McCur= rey
Read with me at http://www.mccur= rey.com
http:/= /chaoticmindramblings.blogspot.com/
--000e0cd5391cc8fac80474298b32--