pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gautham S. Rao <gautam.rao@tatainfotech.com>
To: pgsql-jdbc@postgresql.org
Subject: JDBC Driver Problem
Date: Thu, 4 Apr 2002 18:22:37 +0530
Message-ID: <01fd01c1dbd7$9930d350$41057aa3@tatainfotech.com> (raw)

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.

view thread (16+ messages)  latest in thread

Message-ID: <01fd01c1dbd7$9930d350$41057aa3@tatainfotech.com>
Permalink:  ../01fd01c1dbd7$9930d350$41057aa3@tatainfotech.com/
Also on:    postgresql.org/message-id/01fd01c1dbd7$9930d350$41057aa3@tatainfotech.com

 · 

reply

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: gautam.rao@tatainfotech.com
  Subject: Re: JDBC Driver Problem
  In-Reply-To: <01fd01c1dbd7$9930d350$41057aa3@tatainfotech.com>
  References: <01fd01c1dbd7$9930d350$41057aa3@tatainfotech.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