Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by postgresql.org (Postfix) with ESMTP id DFC3A47545D for ; Thu, 4 Apr 2002 07:58:10 -0500 (EST) Received: from 1cust48.tnt4.richmond.in.da.uu.net ([67.233.94.48] helo=nick) by swan.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16t6oS-0004HV-00; Thu, 04 Apr 2002 04:58:01 -0800 Reply-To: From: "Nick Fankhauser" To: "Gautham S. Rao" , Subject: Re: JDBC Driver Problem Date: Thu, 4 Apr 2002 07:56:55 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <01fd01c1dbd7$9930d350$41057aa3@tatainfotech.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal X-Archive-Number: 200204/22 X-Sequence-Number: 3608 Gautham- Supplying as much of the source code as possible will make it more likely that someone can help solve the problem. I don't recall hearing of such a problem before, so this is probably not a known issue. At the very least, copies of the queries might help so we can try something similar in our environments. -Nick -------------------------------------------------------------------------- Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of Gautham S. Rao Sent: Thursday, April 04, 2002 7:53 AM To: pgsql-jdbc@postgresql.org Subject: [JDBC] JDBC Driver Problem Hi, We have a query that involves 'union' and 'except' clause. When it is run on the psql database at the backend it retuns the required data. However, when it is executed using the jdbc driver it is returning less number of records. The statements after the union and except clause are not getting executed. Is this a bug in the JDBC driver? Also a similar problem is encountered in another query that uses 'case when <> then <> else <> end' the equivalent of 'decode'. This query returns records when exceuted at the backend, but when exceuted using the JDBC driver, it retuns no records. What could be the problem? Have any of you encountered a similar problem and how do we solve it? Regards, Gautham.