Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 44512 invoked from network); 19 Mar 2009 06:43:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Mar 2009 06:43:02 -0000 Received: (qmail 63608 invoked by uid 500); 19 Mar 2009 06:42:55 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 63592 invoked by uid 500); 19 Mar 2009 06:42:55 -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 63583 invoked by uid 99); 19 Mar 2009 06:42:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Mar 2009 23:42:55 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2009 06:42:48 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LkBxT-0001d6-LV for user-java@ibatis.apache.org; Wed, 18 Mar 2009 23:42:27 -0700 Message-ID: <22594491.post@talk.nabble.com> Date: Wed, 18 Mar 2009 23:42:26 -0700 (PDT) From: TarakBhandary To: user-java@ibatis.apache.org Subject: Re: need createCriteria help In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: reach2tarak@gmail.com References: <22594367.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Actually i dont have enough knowledge in this pls help me out i have to do the job as soon as possible. If there is any link which will help me out pls provide. Kengkaj Sathianpantarit wrote: > > Have you used Dynamic Mapped Statements? Read Developer Guide. > > Kengkaj > > On Thu, Mar 19, 2009 at 1:25 PM, TarakBhandary > wrote: > >> >> I am not getting the required result from the following, will anybody >> help >> me >> out............ >> >> public List listAll(){ >> >> ContactInfoExample example = new ContactInfoExample(); >> example.createCriteria().andIdContactInfoEqualTo(24); >> return contactInfoDAO.selectByExample(example); >> } >> -- >> View this message in context: >> http://www.nabble.com/need-createCriteria-help-tp22594367p22594367.html >> Sent from the iBATIS - User - Java mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/need-createCriteria-help-tp22594367p22594491.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.