Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 21254 invoked from network); 8 Apr 2010 18:14:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Apr 2010 18:14:20 -0000 Received: (qmail 36728 invoked by uid 500); 8 Apr 2010 18:14:19 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 36710 invoked by uid 500); 8 Apr 2010 18:14:19 -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 36703 invoked by uid 99); 8 Apr 2010 18:14:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 18:14:19 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fschiettecatte@gmail.com designates 209.85.212.53 as permitted sender) Received: from [209.85.212.53] (HELO mail-vw0-f53.google.com) (209.85.212.53) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Apr 2010 18:14:10 +0000 Received: by vws3 with SMTP id 3so96316vws.12 for ; Thu, 08 Apr 2010 11:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=ee+UQRMsjPYZh29MFTWZFIsG3Px4YCi6WxE9U86vaNc=; b=L0n3F8SYO9Yk0gdgj8zuRSMQbPgvUzjJy3HcKguj+f06V417+NsSia+wx1beBqH6Yb UuzJrxsNlIRCoL7WBhfwgYKUi0LCvChxvk4nhrVPLR2nUkbojrmUnmK+FnYCI6/IOVTx /aNtawxqzcJonYxm9yht5qFq/PRQKrpWdyZJY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=GWogBMEqEprvuTtpanYKTmJhTv7hzQ30lmo6ffl2Rk64+RrjbwN5u8xvl4Yby2V468 G/HP5eDsThZ1Mt8Y2deWMFA5GTtTQ0fjzvWIAp6c+6HNUbbRg1f9MalprLUJ0+VzwT1G c5V6Xxd8jtRu33/TM01TmN8GKKzEiXeyeOsdw= Received: by 10.220.107.28 with SMTP id z28mr331191vco.100.1270750399730; Thu, 08 Apr 2010 11:13:19 -0700 (PDT) Received: from macpro.local (c-24-61-174-153.hsd1.ma.comcast.net [24.61.174.153]) by mx.google.com with ESMTPS id 28sm6204677vws.6.2010.04.08.11.13.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 08 Apr 2010 11:13:18 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1078) Subject: Re: Dynamic table replacement possible in iBatis3 ? From: =?iso-8859-1?Q?Fran=E7ois_Schiettecatte?= In-Reply-To: Date: Thu, 8 Apr 2010 14:13:17 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <12863ABE-0A9B-4FEC-BE92-CF3A63C2930F@gmail.com> References: <85B80E11-F26E-48DC-B432-6F3CBA9D1F06@gmail.com> To: user-java@ibatis.apache.org X-Mailer: Apple Mail (2.1078) X-Virus-Checked: Checked by ClamAV on apache.org Nathan Good point, I knew about it (and used it) but it slipped my mind. Cheers Fran=E7ois On Apr 8, 2010, at 11:39 AM, Nathan Maves wrote: > You are only half correct. The format that you just used as an > example is only for parameters. He is looking for the string > substitution which also changed. >=20 > #{foo} =3D=3D jdbc set parameter > ${foo} =3D=3D string substitution before the prepared statement >=20 > Nathan >=20 > 2010/4/7 Fran=E7ois Schiettecatte : >> The format did change, here is the new format: >>=20 >> >>=20 >>=20 >> Fran=E7ois >>=20 >> On Apr 7, 2010, at 5:54 PM, Niels Beekman wrote: >>=20 >>> In iBATIS 2, you would use ${value}. Maybe this still holds for = version 3? >>>=20 >>> Niels >>>=20 >>> On 7 April 2010 16:46, Joram Barrez wrote: >>> Hi All, >>>=20 >>> I was wondering if this is possible with iBatis 3: >>>=20 >>> >>>=20 >>> The problem is that the string ${tableName} is not replaced by the >>> parameter, leadin to a 'select count(*) from null' at runtime. >>> Am I doing something wrong here or is this feature not yet = implemeted >>> (as it worked on iBatis2 according to Google)? >>>=20 >>>=20 >>> Regards, >>>=20 >>> Joram >>>=20 >>> = --------------------------------------------------------------------- >>> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org >>> For additional commands, e-mail: user-java-help@ibatis.apache.org >>>=20 >>>=20 >>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org >> For additional commands, e-mail: user-java-help@ibatis.apache.org >>=20 >>=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org > For additional commands, e-mail: user-java-help@ibatis.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org