Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 14350 invoked from network); 12 Jul 2006 08:49:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Jul 2006 08:49:32 -0000 Received: (qmail 37104 invoked by uid 500); 12 Jul 2006 08:49:26 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 37093 invoked by uid 500); 12 Jul 2006 08:49:26 -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 37076 invoked by uid 99); 12 Jul 2006 08:49:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 01:49:26 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of larry.meadors@gmail.com designates 64.233.184.228 as permitted sender) Received: from [64.233.184.228] (HELO wr-out-0506.google.com) (64.233.184.228) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jul 2006 01:49:24 -0700 Received: by wr-out-0506.google.com with SMTP id 68so61782wri for ; Wed, 12 Jul 2006 01:49:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=iyi8ejsDY613xlqwPPuXAXGPNfd+8lPjVX71yGMIpomeSmdKX6Rweha8ARKY/wKg/7MCAjMfk2vwMht/Q9VhL0XmsCh5Xw+l4+bTFGoh6n81e4Yb9KQ+KRQMT5fa08I2TKotmqS+97LiM9tPSbt/r00UMA3QNc8yX5U+g+ooWV8= Received: by 10.82.109.9 with SMTP id h9mr34051buc; Wed, 12 Jul 2006 01:49:03 -0700 (PDT) Received: by 10.78.148.16 with HTTP; Wed, 12 Jul 2006 01:49:03 -0700 (PDT) Message-ID: Date: Tue, 11 Jul 2006 22:49:03 -1000 From: "Larry Meadors" Reply-To: lmeadors@apache.org Sender: larry.meadors@gmail.com To: user-java@ibatis.apache.org Subject: Re: RE : RE : RE : request using beanExample In-Reply-To: <14A339358E3BE14C94A52240E3FD0A3A06E1F4BE@srvexch.epro.dom> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <14A339358E3BE14C94A52240E3FD0A3A06E1F4BE@srvexch.epro.dom> X-Google-Sender-Auth: 6ae06f8b086a9c75 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yep. On 7/11/06, jeremy jardin wrote: > You mean that is my fiel dis CHAR(12)... and the string I put in is only = 8 char long;. It could be problematic ? > > > > -----Message d'origine----- > De: larry.meadors@gmail.com [mailto:larry.meadors@gmail.com] De la part d= e Larry Meadors > Envoy=E9: mercredi 12 juillet 2006 10:37 > =C0: user-java@ibatis.apache.org > Objet: Re: RE : RE : request using beanExample > > The length is probably wrong, and in all SQL dialects I have ever > used, " A" does not equal "A". > > Larry > > > On 7/11/06, jeremy jardin wrote: > > A CHAR !! > > Why ?? > > > > > > -----Message d'origine----- > > De: larry.meadors@gmail.com [mailto:larry.meadors@gmail.com] De la part= de Larry Meadors > > Envoy=E9: mercredi 12 juillet 2006 09:50 > > =C0: user-java@ibatis.apache.org > > Objet: Re: RE : request using beanExample > > > > Is MOBILE a CHAR field or VARCHAR? > > > > Larry > > > > > > On 7/11/06, jeremy jardin wrot= e: > > > All my classes have been generated using Abator so, I have something = like that : > > > > > > List list =3D sqlMapClient.queryForList("UTILISATEUR.abatorgenerated_= selectByExample", parms); > > > > > > Parms contains my where clause, instanciated the good way... > > > > > > PreparedStatement: Select UUID, MOBILE,ORIGINE_UUID,ETAT,LOGIN, ETAT_= MODIFIE,TSTMPINSR, TSTMPUPDT from UTILISATEUR where MOBILE =3D ? > > > Parameters: [0613410836] > > > Types: [java.lang.String] > > > ResultSet > > > > > > > > > What's the matter with my request ? > > > > > > > > > -----Message d'origine----- > > > De: larry.meadors@gmail.com [mailto:larry.meadors@gmail.com] De la pa= rt de Larry Meadors > > > Envoy=E9: mercredi 12 juillet 2006 09:39 > > > =C0: user-java@ibatis.apache.org > > > Objet: Re: request using beanExample > > > > > > Do you have a resultMap or resultClass for the select? > > > > > > Larry > > > > > > > > > On 7/11/06, jeremy jardin wr= ote: > > > > > > > > > > > > > > > > > > > > Hello, > > > > > > > > > > > > > > > > I'm trying to launch a request using a beanExample .. I've logged t= he sql > > > > request, and I can see that this request should answers 1 result. > > > > > > > > > > > > > > > > After all. my resultList is empty, and I don't know why. > > > > > > > > > > > > > > > > Any idea ? > > > > > > > > > > > > > >