Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 68620 invoked from network); 13 Aug 2009 00:13:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Aug 2009 00:13:56 -0000 Received: (qmail 23645 invoked by uid 500); 13 Aug 2009 00:14:02 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 23610 invoked by uid 500); 13 Aug 2009 00:14:02 -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 23602 invoked by uid 99); 13 Aug 2009 00:14:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 00:14:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jeffgbutler@gmail.com designates 209.85.217.222 as permitted sender) Received: from [209.85.217.222] (HELO mail-gx0-f222.google.com) (209.85.217.222) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 00:13:52 +0000 Received: by gxk22 with SMTP id 22so695525gxk.0 for ; Wed, 12 Aug 2009 17:13:32 -0700 (PDT) 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 :content-transfer-encoding; bh=nKDYp6x4vDFdC5CsRdi0xocB/wd49lR4PPAkoLcSREY=; b=HrT/eHrnqweqboY8pMG/Z+OZ7ZUJ0P5CQC7YKh/HFADEG3lyHm9Hkb/tOPhKU5l5X1 WGZO4ZPyDf3+hEiWvDC7sWrHN6IOQZ2v3mUPNT9JAp9UZ1hLGBRLU/yDAFQlvP3jCZnQ oOFBHBuA0cqp0cRcWpsZefccd2LG68/r5Zp9o= 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:content-transfer-encoding; b=TlzA45Yq5qicLDbOieU7J9DTvZDjhna61uwBe3lgQeaStCO/RlgWy5vfwAdz8hnK+t RQAvUyM7HF4CBKKeUjjbXY5wfcSWtFWbbgGFiCKDTbCN7aWAyhePFwVR6V4ddGwGhRop B15+G8Vzcx7l/WlD2Lm3KcT+dxChrhTksNwnE= MIME-Version: 1.0 Received: by 10.150.32.8 with SMTP id f8mr750834ybf.307.1250122411933; Wed, 12 Aug 2009 17:13:31 -0700 (PDT) In-Reply-To: References: Date: Wed, 12 Aug 2009 20:13:31 -0400 Message-ID: Subject: Re: [IB3] Some questions From: Jeff Butler To: user-java@ibatis.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Some answers... String substitution is still there. Use this: ${...} The expression language is OGNL - OGNL is included basically as is in iBATIS3. iBATIS will make all bean properties available in the OGNL context, and also the parameter object itself (as "_parameter"). So you can do or . Jeff Butler On Wed, Aug 12, 2009 at 7:22 PM, Zoran Avtarovski wrote: > First off, fantastic effort guys. This looks like a unbelievable release. > The improvements over the previous version are just incredible. I=92m > especially a fan of the new collection tag. > > I=92ve been reading over the user guide and I have a couple of questions = : > > In V2 and prior $value$ resulted in a string substitution while #value# u= sed > prepared statements and safe escaping. Is there still a string substituti= on > option? I know it=92s not recommended, but we do have cases where we need= it. > > With regards to he expression language support in the dynamic sql tags, i= s > OGNL being used to evaluate the test fields or a variation of EL? The rea= son > I ask is that EL supports tests like NOT EMPTY while OGNL doesn=92t. So = =93value > !=3D null=94 isn=92t the same as =93NOT EMPTY value=94. Also the structur= e of the > conditional tags follows the JSTL convention of choose, when, otherwise a= nd > not the more contemporary if, elseif, else. I guess the point I=92m tryin= g to > make is that in a world where using multiple frameworks (struts, jsf, etc= ) > is the norm, it might be a good idea that some of the conventions used in > IB3 follow what=92s been done in more established projects. For example i= f > OGNL is used than I=92d prefer to use if, elseif, else as that=92s where = my mind > is and if I=92m using EL then I go to the choose, when, otherwise. It may= be > just me, and I=92m happy to concede that, but I find these little things > really make a difference. > > Finally a question about Spring integration. One of the great selling poi= nts > for iBatis has always been its tight spring integration. Is there any wor= k > going on at their end to integrate IB3 or is this something that we, the > iBatis community, should be stepping up for? > > Again, a great release and I can=92t wait to try it. > > Z. --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org For additional commands, e-mail: user-java-help@ibatis.apache.org