From: Nick Fankhauser <nickf@ontko.com>
To: Gautham S. Rao <gautam.rao@tatainfotech.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: JDBC Driver Problem
Date: Thu, 4 Apr 2002 07:56:55 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGKEDNELAA.nickf@ontko.com> (raw)
In-Reply-To: <01fd01c1dbd7$9930d350$41057aa3@tatainfotech.com>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: nickf@ontko.com, gautam.rao@tatainfotech.com
Subject: Re: JDBC Driver Problem
In-Reply-To: <NEBBLAAHGLEEPCGOBHDGKEDNELAA.nickf@ontko.com>
References: <01fd01c1dbd7$9930d350$41057aa3@tatainfotech.com> <NEBBLAAHGLEEPCGOBHDGKEDNELAA.nickf@ontko.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox