Skip site navigation (1) Skip section navigation (2)

Re: BUG #1628: JDBC bug with regard to text column data type

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Nathan Neuenschwander <nathan_neuenschwander(at)comcast(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1628: JDBC bug with regard to text column data type
Date: 2005-04-27 23:35:30
Message-ID: 427021C2.4020300@opencloud.com (view raw or flat)
Thread:
Lists: pgsql-bugs
Nathan Neuenschwander wrote:

> I am using a CachedRowSet, the JDBC driver for PG 8.0, and j2ee. 
> If the target table contains a column of data type text, the following
> causes an SQLException with a message stating that a negative value was
> returned for the column display size. If the text column is changed to a
> varchar, the exception is not triggered. The exception is not dependent upon
> the particular column being queried, just the enclosing table. (The proper
> variable init is implied.)

I believe we are still waiting for Sun to get back to us on this (it's
arguable whether the bug lies in the JDBC driver or in what their RowSet
implementation is expecting). Search the pgsql-jdbc archives for details.

-O

In response to

pgsql-bugs by date

Next:From: Bruno Wolff IIIDate: 2005-04-28 01:32:28
Subject: Re: BUG #1633: about transactions and row level locking
Previous:From: Bruce MomjianDate: 2005-04-27 19:58:05
Subject: Re: BUG #1634: Configure step for build does not define HAVE_POSIX_SIGNALS

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group