Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 46449 invoked from network); 3 Nov 2006 15:33:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2006 15:33:50 -0000 Received: (qmail 42186 invoked by uid 500); 3 Nov 2006 15:33:58 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 42167 invoked by uid 500); 3 Nov 2006 15:33:58 -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 42136 invoked by uid 99); 3 Nov 2006 15:33:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 07:33:58 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of matthew.rutherford@citigroup.com designates 199.67.203.180 as permitted sender) Received: from [199.67.203.180] (HELO mail.citigroup.com) (199.67.203.180) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Nov 2006 07:33:42 -0800 Received: from imbarc-eu01.eur.nsroot.net (imbarc-eu01.eu.ssmb.com [169.183.21.39]) by imbaspam-eu02.eur.nsroot.net (8.13.8/8.13.8/SSMB_EXT/ev: 16405 $) with ESMTP id kA3FXJrR024483 for ; Fri, 3 Nov 2006 15:33:19 GMT Received: from mailhub-dc2.eu.ssmb.com (mailhub-dc2.eur.nsroot.net [169.186.205.199]) by imbarc-eu01.eur.nsroot.net (8.13.7/8.13.7/SSMB_QQQ_IN/1.1) with ESMTP id kA3FXEEF026846 for ; Fri, 3 Nov 2006 15:33:14 GMT Received: from exuksm03.eur.nsroot.net (exuksm03.eur.nsroot.net [169.183.20.154]) by mailhub-dc2.eu.ssmb.com (8.13.7/8.13.7/CG_HUB) with ESMTP id kA3FX431014565 for ; Fri, 3 Nov 2006 15:33:13 GMT Received: from exukmb29.eur.nsroot.net ([169.183.179.13]) by exuksm03.eur.nsroot.net with Microsoft SMTPSVC(5.0.2195.6713); Fri, 3 Nov 2006 15:33:11 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Ibatis not returning any results Date: Fri, 3 Nov 2006 15:33:11 -0000 Message-ID: <3FA2DA52ED20E140A13FD937E0BC011303D8119B@Exukmb29.eur.nsroot.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Ibatis not returning any results Thread-Index: Acb/WvoagGnYZpn8TaukwP0euG2DSQAAhPYw From: "Rutherford, Matthew [CIB-IT]" To: X-OriginalArrivalTime: 03 Nov 2006 15:33:11.0442 (UTC) FILETIME=[5ED0C720:01C6FF5D] X-Scanned-By: MIMEDefang 2.52 on 169.186.247.38 X-Virus-Checked: Checked by ClamAV on apache.org Unfortunately, I tried this but no luck. Also set = jdbcType=3D"TIMESTAMP" on the positionAsAt result tag too but nothing = gained. Again, a dumb select all items query works fine for me, just = not the slightly more complex query below... -----Original Message----- From: larry.meadors@gmail.com [mailto:larry.meadors@gmail.com]On Behalf Of Larry Meadors Sent: 03 November 2006 15:14 To: user-java@ibatis.apache.org Subject: Re: Ibatis not returning any results Oh, position_as_at is a date? If so, then yeah: Removing the to_char should fix it up. Larry On 11/3/06, Rutherford, Matthew [CIB-IT] wrote: > I think you've hit the nail on the head Larry, it's not being parsed = into java.sql.Date correctly as a result of the to_char. > > thanks > Matt > > -----Original Message----- > From: larry.meadors@gmail.com [mailto:larry.meadors@gmail.com]On = Behalf > Of Larry Meadors > Sent: 03 November 2006 14:53 > To: user-java@ibatis.apache.org; Graeme J Sweeney > Subject: Re: Ibatis not returning any results > > > What is returned by to_char(max(position_as_at))? > > Larry > > > On 11/3/06, Graeme J Sweeney wrote: > > On Fri, 3 Nov 2006, Rutherford, Matthew [CIB-IT] wrote: > > > > > The java property is of type int. ie. setFii(2) sets it to an int = value 2. In the db it is an oracle number(12). > > > > > > If I do a getItems (select *) type query The list is populated = fine. > > > > > > Any ideas? > > > > what happens if you hardcode the value of fii ? > > > > > > > > -- > > Graeme - > > >