X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 09B1653380 for ; Mon, 18 Apr 2005 15:55:47 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 38599-06 for ; Mon, 18 Apr 2005 18:55:36 +0000 (GMT) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by svr1.postgresql.org (Postfix) with ESMTP id BB00553364 for ; Mon, 18 Apr 2005 15:55:31 -0300 (ADT) Received: from [192.168.1.100] ([24.202.23.128]) by VL-MO-MR010.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0IF500DHGOJAPE@VL-MO-MR010.ip.videotron.ca> for pgsql-jdbc@postgresql.org; Mon, 18 Apr 2005 14:54:47 -0400 (EDT) Date: Mon, 18 Apr 2005 14:58:42 -0400 From: David Gagnon Subject: Re: ResultSet.relative(0) throws "Cannot move to index of 0" In-reply-to: To: Kris Jurka Cc: pgsql-jdbc@postgresql.org Message-id: <42640362.8080103@siunik.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) References: <20050415001606.11426.qmail@web40502.mail.yahoo.com> <425F0BE9.60708@fastcrypt.com> <4263AF53.7030903@siunik.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.014 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/97 X-Sequence-Number: 12704 Thanks! I also try a rs.relative(-1) when I was positionned before the first row. I was not eable to get my result after that. I'm note sure about this one though.. And it's not easy to test it agains ... I you don't know about this one .. it's either a mistake I made myself or another bug. If you want I cant test it when I have a chance... Let me know! Thanks again /David Kris Jurka wrote: >On Mon, 18 Apr 2005, David Gagnon wrote: > > > >> I just ran into what i think is a compliance problem. I can't call >>ResultSet.relative(0) without getting in exception. As stated in the >>javadoc it's should just do NOTHING. >> >> > >This is a bug and is only present in the 7.4 tree. I've fixed it there. >I'll gather up a couple more 7.4 changes and put out a new 7.4 release in >a couple of days. For now I can offer you >http://www.ejurka.com/pgsql/jars/dgagnon/pg74-dg-jdbc3.jar as I don't >happen to have other compilers available. > >Kris Jurka > > >